/* Global styling */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #f5f5f5;
    color: #333;
}

/* Container Layout */
.container {
    display: flex;
    height: 100vh;
}

/* Left Panel */
.left-panel {
    width: 320px;
    padding: 24px;
    background-color: #f0f0f0;
    box-shadow: 2px 0 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Right Panel */
.right-panel {
    flex: 1;
    padding: 24px;
    background-color: #fff;
    overflow-y: auto;
}

/* Typography */
.left-panel h1 {
    margin-top: 0;
    font-size: 24px;
    color: #222;
}

.left-panel p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

/* Button Styles */
.controls button,
.save-situation button,
.modal-content button {
    display: block;
    width: 100%;
    margin: 6px 0;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    background-color: #4a90e2;
    color: white;
    transition: background-color 0.2s ease;
}

.controls button:hover,
.save-situation button:hover,
.modal-content button:hover {
    background-color: #357ab8;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 6% auto;
    padding: 32px;
    border-radius: 8px;
    width: 60%;
    max-width: 700px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.modal-content h3 {
    margin-top: 0;
    color: #222;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-content label {
    display: block;
    margin: 6px 0 3px;
    font-weight: 500;
}

.modal-content input[type="text"],
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.modal-content p {
    margin: 16px 0 6px;
    font-weight: 500;
}

.modal-content .radio-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.modal-content .radio-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

/* Top Menu Bar */
.menu-bar-top {
    background-color: #dcdcdc;
    padding: 6px 12px;
    font-family: 'Poppins', sans-serif;
    border-bottom: 1px solid #999;
}

/* Menu Layout */
.menu-horizontal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

/* Main menu items */
.menu-horizontal > li {
    position: relative;
    padding: 8px 16px;
    margin-right: 10px;
    cursor: pointer;
    background-color: #dcdcdc;
    border-radius: 4px 4px 0 0;
    font-weight: bold;
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 180px;
    top: 100%;
    left: 0;
    border: 1px solid #ccc;
    border-top: none;
    z-index: 1000;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}

/* Dropdown items */
.dropdown-content li {
    padding: 10px 14px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
}

.dropdown-content li:hover {
    background-color: #f0f0f0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Video styling */
video {
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
