/* 3D Zone Visualization Styles - Enhanced Modern UI */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    overflow: hidden;
}

#container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

/* Camera panels now integrated into main controls panel - styling inherited from .panel */

/* Left side panels container - No container scrollbar, panels manage their own space */
#controls {
    position: fixed;
    top: 20px;
    left: 20px;
    bottom: 20px;
    z-index: 100;
    min-width: 280px;
    max-width: 320px;
    overflow: visible;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Right side panels container - No container scrollbar, panels manage their own space */
#rightPanelsContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    min-width: 380px;
    max-width: 380px;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.panel {
    margin-bottom: 0;
    position: relative;
    flex-shrink: 0;
}

/* Panel content can scroll if needed */
.panel-content {
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar styling for panel content */
.panel-content::-webkit-scrollbar {
    width: 8px;
}

.panel-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.panel-content::-webkit-scrollbar-thumb {
    background: rgba(76, 175, 80, 0.5);
    border-radius: 4px;
}

.panel-content::-webkit-scrollbar-thumb:hover {
    background: rgba(76, 175, 80, 0.7);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9), rgba(30, 30, 30, 0.9));
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid rgba(76, 175, 80, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.panel-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.15), transparent);
    transition: left 0.5s ease;
}

.panel-header:hover::before {
    left: 100%;
}

.panel-header:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(40, 40, 40, 0.9));
    transform: translateX(5px);
    border-bottom-color: rgba(76, 175, 80, 0.5);
}

.panel-header h3 {
    margin: 0;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.panel-header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-icon {
    color: #4CAF50;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    cursor: pointer;
}

.panel-header:hover .toggle-icon {
    transform: scale(1.2);
}

.close-icon {
    color: #ff5252;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-icon:hover {
    background: rgba(255, 82, 82, 0.2);
    transform: rotate(90deg) scale(1.2);
    color: #ff7272;
}

.panel-content {
    padding: 20px;
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.95), rgba(20, 20, 20, 0.95));
    border-radius: 0 0 12px 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-top: none;
}

.panel-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.panel-buttons button {
    flex: 1;
    padding: 10px 14px;
    font-size: 13px;
    margin: 0;
    min-width: 80px;
}

/* When only one panel, make it fully rounded */
.panel:only-child .panel-header {
    border-radius: 12px 12px 0 0;
}

.panel:only-child .panel-content {
    border-radius: 0 0 12px 12px;
}

/* When panel is collapsed, round the header completely */
.panel-header.collapsed {
    border-radius: 12px;
    border-bottom: none;
}

button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin: 5px 0;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before {
    width: 300px;
    height: 300px;
}

button:hover {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

button:disabled {
    background: linear-gradient(135deg, #555, #444);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

#zoneSelection {
    margin-top: 15px;
}

#zoneCount {
    margin-bottom: 10px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    font-weight: 500;
}

#zoneDropdown {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.8));
    color: white;
    border: 2px solid rgba(76, 175, 80, 0.4);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

#zoneDropdown:hover {
    border-color: rgba(76, 175, 80, 0.6);
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.9), rgba(40, 40, 40, 0.9));
}

#zoneDropdown:focus {
    outline: none;
    border-color: #4CAF50;
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.95), rgba(40, 40, 40, 0.95));
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
}

#zoneDropdown option {
    background: #2a2a2a;
    color: white;
    padding: 10px;
    font-weight: 500;
}

#status {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #333;
    min-width: 200px;
}

.loading {
    display: none;
    color: #4CAF50;
}

.error {
    display: none;
    color: #f44336;
}

.success {
    display: none;
    color: #4CAF50;
}

#info {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #333;
}

.zone-color {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 8px;
    border-radius: 3px;
    vertical-align: middle;
}

/* Three Panel Visibility Menu Icons - Top Center */
#panelMenuIconsContainer {
    position: fixed !important;
    top: 110px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 99998 !important;
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
    justify-content: center !important;
}

.panel-menu-icon {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 3px solid rgba(255, 255, 255, 0.2) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.panel-menu-icon span {
    font-size: 28px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Control Panels Icon - Deep Purple */
.control-icon {
    background: linear-gradient(135deg, #673AB7, #512DA8) !important;
    box-shadow: 0 6px 20px rgba(103, 58, 183, 0.5),
                0 0 30px rgba(103, 58, 183, 0.3) !important;
}

.control-icon:hover {
    background: linear-gradient(135deg, #7E57C2, #673AB7) !important;
    transform: scale(1.15) rotate(90deg) !important;
    box-shadow: 0 8px 30px rgba(103, 58, 183, 0.7),
                0 0 40px rgba(103, 58, 183, 0.5) !important;
}

/* Function Panels Icon - Green */
.function-icon {
    background: linear-gradient(135deg, #4CAF50, #45a049) !important;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5),
                0 0 30px rgba(76, 175, 80, 0.3) !important;
}

.function-icon:hover {
    background: linear-gradient(135deg, #66BB6A, #4CAF50) !important;
    transform: scale(1.15) rotate(90deg) !important;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.7),
                0 0 40px rgba(76, 175, 80, 0.5) !important;
}

/* Utility Panels Icon - Orange */
.utility-icon {
    background: linear-gradient(135deg, #FF9800, #F57C00) !important;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.5),
                0 0 30px rgba(255, 152, 0, 0.3) !important;
}

.utility-icon:hover {
    background: linear-gradient(135deg, #FFB74D, #FF9800) !important;
    transform: scale(1.15) rotate(90deg) !important;
    box-shadow: 0 8px 30px rgba(255, 152, 0, 0.7),
                0 0 40px rgba(255, 152, 0, 0.5) !important;
}

/* Panel Menus - Common Styles */
.panel-menu {
    position: fixed;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.98), rgba(20, 20, 20, 0.98));
    border-radius: 15px;
    min-width: 320px;
    backdrop-filter: blur(10px);
    animation: slideInFromTop 0.3s ease-out;
}

/* Individual Menu Border Colors */
#controlPanelMenu {
    border: 2px solid rgba(103, 58, 183, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(103, 58, 183, 0.2);
}

#functionPanelMenu {
    border: 2px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(76, 175, 80, 0.2);
}

#utilityPanelMenu {
    border: 2px solid rgba(255, 152, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(255, 152, 0, 0.2);
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-radius: 15px 15px 0 0;
}

/* Control Panel Header - Purple */
.control-header {
    background: linear-gradient(135deg, rgba(103, 58, 183, 0.15), rgba(40, 40, 40, 0.9));
    border-bottom: 2px solid rgba(103, 58, 183, 0.3);
}

.control-header h4 {
    margin: 0;
    background: linear-gradient(135deg, #673AB7, #7E57C2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.control-header .close-icon {
    color: #673AB7;
}

.control-header .close-icon:hover {
    background: rgba(103, 58, 183, 0.2);
    color: #7E57C2;
}

/* Function Panel Header - Green */
.function-header {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(40, 40, 40, 0.9));
    border-bottom: 2px solid rgba(76, 175, 80, 0.3);
}

.function-header h4 {
    margin: 0;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.function-header .close-icon {
    color: #4CAF50;
}

.function-header .close-icon:hover {
    background: rgba(76, 175, 80, 0.2);
    color: #66BB6A;
}

/* Utility Panel Header - Orange */
.utility-header {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(40, 40, 40, 0.9));
    border-bottom: 2px solid rgba(255, 152, 0, 0.3);
}

.utility-header h4 {
    margin: 0;
    background: linear-gradient(135deg, #FF9800, #FFB74D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.utility-header .close-icon {
    color: #FF9800;
}

.utility-header .close-icon:hover {
    background: rgba(255, 152, 0, 0.2);
    color: #FFB74D;
}

.close-icon {
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-icon:hover {
    transform: rotate(90deg);
}

.menu-content {
    padding: 15px;
}

/* User Profile Section in Control Panels Menu */
.user-profile-section {
    margin-bottom: 20px;
    background: linear-gradient(145deg, rgba(103, 58, 183, 0.1), rgba(40, 40, 40, 0.6));
    border: 2px solid rgba(103, 58, 183, 0.3);
    border-radius: 12px;
    padding: 16px;
}

.user-profile-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.user-avatar-wrapper {
    flex-shrink: 0;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #673AB7;
    box-shadow: 0 4px 12px rgba(103, 58, 183, 0.4);
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    color: white;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    background: linear-gradient(135deg, #673AB7, #7E57C2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 13px;
    font-weight: 500;
}

.user-profile-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(103, 58, 183, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-profile-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-profile-menu-item {
    width: 100%;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.6), rgba(30, 30, 30, 0.6));
    border: 1px solid rgba(103, 58, 183, 0.3);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    margin: 0;
}

.user-profile-menu-item:hover {
    background: linear-gradient(135deg, rgba(103, 58, 183, 0.2), rgba(40, 40, 40, 0.8));
    border-color: rgba(103, 58, 183, 0.5);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(103, 58, 183, 0.3);
}

.user-profile-menu-item svg {
    flex-shrink: 0;
    color: #673AB7;
}

.user-profile-menu-item.logout-btn {
    margin-top: 4px;
    border-color: rgba(244, 67, 54, 0.3);
}

.user-profile-menu-item.logout-btn:hover {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2), rgba(40, 40, 40, 0.8));
    border-color: rgba(244, 67, 54, 0.5);
}

.user-profile-menu-item.logout-btn svg {
    color: #f44336;
}

/* Coming Soon Notice */
.coming-soon-notice {
    text-align: center;
    padding: 10px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
    border: 2px dashed rgba(255, 193, 7, 0.4);
    border-radius: 8px;
    color: #FFC107;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
}

.menu-checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.6), rgba(30, 30, 30, 0.6));
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    position: relative;
}

.menu-checkbox-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border-radius: 10px 0 0 10px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu-checkbox-item:hover::before {
    transform: scaleX(1);
}

.menu-checkbox-item:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(40, 40, 40, 0.8));
    transform: translateX(-5px);
    border-color: rgba(76, 175, 80, 0.4);
}

.menu-checkbox-item:last-child {
    margin-bottom: 0;
}

.menu-checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #4CAF50;
}

.menu-checkbox-item span {
    color: white;
    font-size: 15px;
    font-weight: 500;
    flex: 1;
}

.menu-checkbox-item input[type="checkbox"]:checked + span {
    color: #4CAF50;
}

/* Disabled Menu Items */
.menu-checkbox-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.4), rgba(50, 50, 50, 0.4));
    border-color: rgba(100, 100, 100, 0.2);
}

.menu-checkbox-item.disabled:hover {
    transform: none;
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.4), rgba(50, 50, 50, 0.4));
    border-color: rgba(100, 100, 100, 0.2);
}

.menu-checkbox-item.disabled::before {
    display: none;
}

.menu-checkbox-item.disabled span {
    color: rgba(255, 255, 255, 0.4);
}

/* Full Screen Toggle Button Styles */
.fullscreen-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.8));
    border: 2px solid rgba(33, 150, 243, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.fullscreen-toggle-btn:hover {
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.9), rgba(40, 40, 40, 0.9));
    border-color: rgba(33, 150, 243, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.fullscreen-toggle-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(33, 150, 243, 0.3);
}

.fullscreen-toggle-btn #fullScreenIcon {
    font-size: 18px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.fullscreen-toggle-btn:hover #fullScreenIcon {
    transform: scale(1.1);
}

.fullscreen-toggle-btn #fullScreenText {
    flex: 1;
    text-align: left;
}

.fullscreen-toggle-btn .shortcut-hint {
    padding: 3px 8px;
    background: rgba(33, 150, 243, 0.2);
    border: 1px solid rgba(33, 150, 243, 0.4);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(33, 150, 243, 1);
    margin-left: 10px;
    transition: all 0.3s ease;
}

.fullscreen-toggle-btn:hover .shortcut-hint {
    background: rgba(33, 150, 243, 0.3);
    border-color: rgba(33, 150, 243, 0.6);
    color: rgba(255, 255, 255, 1);
}

/* Full Screen Active State */
.fullscreen-toggle-btn.fullscreen-active {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border-color: #2196F3;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.5);
}

.fullscreen-toggle-btn.fullscreen-active:hover {
    background: linear-gradient(135deg, #42A5F5, #2196F3);
}

/* Camera Mode Panel Styles */
.camera-mode-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.camera-mode-btn {
    padding: 14px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.8)) !important;
    border: 2px solid rgba(76, 175, 80, 0.3) !important;
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.camera-mode-btn:hover {
    border-color: rgba(76, 175, 80, 0.6) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4) !important;
}

.camera-mode-btn.active {
    background: linear-gradient(135deg, #4CAF50, #45a049) !important;
    border-color: #4CAF50 !important;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.5) !important;
}

.mode-description {
    padding: 12px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(40, 40, 40, 0.3));
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

/* Camera Pre-Sets Panel Styles */
.preset-info {
    padding: 10px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15), rgba(40, 40, 40, 0.3));
    border-radius: 8px;
    border-left: 4px solid #9C27B0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-align: center;
}

.camera-presets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.preset-btn {
    padding: 14px 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15), rgba(40, 40, 40, 0.6)) !important;
    border: 2px solid rgba(156, 39, 176, 0.3) !important;
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.preset-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(156, 39, 176, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.preset-btn:hover::before {
    width: 300px;
    height: 300px;
}

.preset-btn:hover {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.3), rgba(156, 39, 176, 0.2)) !important;
    border-color: rgba(156, 39, 176, 0.6) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.5) !important;
}

.preset-btn:active {
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 0 3px 10px rgba(156, 39, 176, 0.4) !important;
}

/* Location Popup - Scrollable when content exceeds viewport */
#locationPopup.scrollable-popup {
    border: 2px solid rgba(76, 175, 80, 0.4);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
}

#locationPopup.scrollable-popup::-webkit-scrollbar {
    width: 10px;
}

#locationPopup.scrollable-popup::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0 8px 8px 0;
}

#locationPopup.scrollable-popup::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border-radius: 5px;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

#locationPopup.scrollable-popup::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #66BB6A, #81C784);
}