/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7fa;
    display: flex;
    height: 100vh;
    flex-direction: row;
    font-size: 14px;
    line-height: 1.6;
}

/* Viewport (3D Stage area) */
#viewport {
    flex-grow: 1;
    background-color: #eaeaea;
    border-right: 2px solid #ccc;
    position: relative;
}

/* Toolbar (Left Sidebar) */
#toolbar {
    width: 280px;
    background-color: #2c3e50;
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    border-right: 2px solid #34495e;
}

/* Floating Action Button */
#fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #2980b9;
    color: white;
    font-size: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#fab:hover {
    background-color: #1c6ea4;
    transform: translateY(-2px);
}

#fab:active {
    background-color: #155a77;
    transform: translateY(2px);
}

/* Inspector Panel (Right Sidebar) */
#inspector {
    width: 320px;
    background-color: #2c3e50;
    padding: 30px;
    color: white;
    height: 100vh;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    border-left: 2px solid #34495e;
}

/* Inspector Buttons */
button {
    padding: 12px 20px;
    background-color: #2980b9;
    border: 1px solid #1c6ea4;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    margin: 8px 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

button:hover {
    background-color: #1c6ea4;
    transform: translateY(-2px);
}

button:active {
    background-color: #155a77;
    transform: translateY(2px);
}

button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

button img {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    #viewport {
        width: calc(100% - 280px);
    }

    #toolbar, #inspector {
        width: 240px;
        padding: 20px;
    }
}

@media screen and (max-width: 900px) {
    body {
        flex-direction: column;
    }

    #toolbar, #inspector {
        width: 100%;
        height: auto;
        flex-direction: row;
        margin-bottom: 20px;
    }

    #viewport {
        width: 100%;
        height: 400px;
    }
}

/* Help Overlay */
#helpOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

#closeHelp {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

#closeHelp:hover {
    background-color: #555;
}

/* Style for the new button */
#vacancyButton {
    padding: 12px 20px;
    background-color: #e67e22;
    border: 1px solid #d35400;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    margin: 8px 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#vacancyButton:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

#vacancyButton:active {
    background-color: #c0392b;
    transform: translateY(2px);
}
