/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100vh;
    width: 100vw;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0c1a2d;
    color: #e0e0e0;
    overflow: hidden;
}

#root {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* Main Layout */
.page-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
}

/* Side Panel - 20% width */
.side-panel {
    width: 20%;
    min-width: 300px;
    max-width: 400px;
    height: 100vh;
    background: rgba(15, 25, 45, 0.95);
    border-right: 1px solid rgba(64, 156, 255, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1000;
    overflow: hidden;
}

/* Panel Header */
.panel-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    flex-shrink: 0;
}

.panel-header h3 {
    color: #ffffff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
    color: #4CAF50;
    filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.3));
}

.app-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.panel-subtitle {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 300;
}

/* EO Browser Button */
.eo-browser-btn {
    margin: 1rem 1.5rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
    flex-shrink: 0;
}

.eo-browser-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
}

.eo-browser-btn i {
    font-size: 1.1rem;
}

/* EO Browser Panel */
.eo-browser-panel,
.eo-step2-panel,
.task-details-panel,
.create-task-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 25, 45, 0.98);
    backdrop-filter: blur(10px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(64, 156, 255, 0.2);
}

.create-task-draw-hint {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(207, 232, 255, 0.88);
    margin: 0.35rem 0 0.65rem;
}

.create-task-draw-hint strong {
    color: #90caf9;
}

.back-btn {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn:hover {
    background: rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
}

.eo-form {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

/* Form Styles */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.sidebar-flash-wrap {
    margin: 0 0 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sidebar-flash {
    font-size: 0.8rem;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    line-height: 1.35;
}

.sidebar-flash.error {
    background: rgba(229, 57, 53, 0.15);
    border: 1px solid rgba(229, 57, 53, 0.45);
    color: #ff8a80;
}

.sidebar-flash.success {
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #a5d6a7;
}

.tasks-empty {
    padding: 1.25rem 0.75rem;
    text-align: center;
    font-size: 0.88rem;
    color: #7a8a9e;
    line-height: 1.45;
}

.task-details-readonly .task-detail-value {
    color: #e2eaf5;
    font-size: 0.92rem;
    line-height: 1.45;
    padding: 0.5rem 0.65rem;
    background: rgba(20, 30, 48, 0.65);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.task-report-link {
    color: #90caf9;
    font-weight: 600;
    text-decoration: none;
}

.task-report-link:hover {
    text-decoration: underline;
    color: #bbdefb;
}

.task-report-missing {
    color: #8a9bb0;
    font-style: italic;
}

.td-period-list {
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(20, 30, 48, 0.55);
    padding: 0.4rem;
}

.td-period-empty {
    color: #9db0c6;
    font-size: 0.86rem;
    padding: 0.55rem;
}

.td-period-item {
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e6f2ff;
    border-radius: 8px;
    padding: 0.55rem 0.65rem;
    margin: 0.3rem 0;
    font-size: 0.86rem;
    cursor: pointer;
}

.td-period-item:hover {
    background: rgba(33, 150, 243, 0.14);
    border-color: rgba(33, 150, 243, 0.4);
}

.td-period-item.active {
    background: rgba(76, 175, 80, 0.16);
    border-color: rgba(76, 175, 80, 0.5);
}

.eo-date-from-group {
    margin-bottom: 0.6rem;
}

.eo-area-warning {
    font-size: 0.82rem;
    line-height: 1.4;
    color: #ff8a80;
    margin: 0 0 0.75rem;
    padding: 0.55rem 0.65rem;
    background: rgba(229, 57, 53, 0.12);
    border: 1px solid rgba(229, 57, 53, 0.45);
    border-radius: 8px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    color: #b0b0b0;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: #2196F3;
}

/* Date Input with Icon */
.input-with-icon {
    position: relative;
}

.calendar-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4CAF50;
    font-size: 1.1rem;
    pointer-events: none;
}

.styled-input,
.styled-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(20, 30, 48, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
}

.styled-input:focus,
.styled-textarea:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.2);
}

.styled-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Task Name Input - предотвращаем автозаполнение стилей браузера */
.task-name-input {
    background: rgba(20, 30, 48, 0.9) !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.task-name-input:-webkit-autofill,
.task-name-input:-webkit-autofill:hover,
.task-name-input:-webkit-autofill:focus,
.task-name-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(20, 30, 48, 0.9) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
}

/* Radio Group Styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.radio-option:hover {
    background: rgba(33, 150, 243, 0.1);
    border-color: rgba(33, 150, 243, 0.3);
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked + .radio-checkmark {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.radio-option input[type="radio"]:checked + .radio-checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4CAF50;
}

.radio-text {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Slider Styles */
.slider-container {
    padding: 0.5rem 0;
}

.styled-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
    margin: 0.5rem 0;
}

.styled-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.styled-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    border: 2px solid #ffffff;
}

.slider-value {
    margin-left: auto;
    color: #4CAF50;
    font-weight: 600;
    font-size: 0.95rem;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    color: #a0a0a0;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed rgba(64, 156, 255, 0.3);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    background: rgba(20, 30, 48, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.file-upload-area:hover {
    border-color: #2196F3;
    background: rgba(33, 150, 243, 0.05);
}

.file-upload-area.drag-over {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.file-upload-content {
    text-align: center;
    color: #a0a0a0;
}

.file-upload-content i {
    font-size: 2.5rem;
    color: #2196F3;
    margin-bottom: 0.75rem;
}

.file-upload-content p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.file-hint {
    font-size: 0.85rem !important;
    color: #888;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.file-info i {
    font-size: 1.5rem;
    color: #2196F3;
}

.file-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.file-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.file-size {
    color: #a0a0a0;
    font-size: 0.85rem;
}

.remove-file-btn {
    width: 30px;
    height: 30px;
    background: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.3);
    border-radius: 6px;
    color: #ff5757;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-file-btn:hover {
    background: rgba(255, 87, 87, 0.2);
    border-color: #ff5757;
}

/* Task File Upload Area */
.task-file-upload-area {
    margin-top: 0.5rem;
}

/* Apply Button for EO Browser */
.apply-eo-btn {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
}

.apply-eo-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.apply-eo-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, #666 0%, #555 100%);
}

/* Create Task Button */
.create-task-btn {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
}

.create-task-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

.create-task-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, #666 0%, #555 100%);
}

/* Tasks Section */
.tasks-section {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.tasks-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.tasks-header h3 {
    color: #ffffff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.tasks-header h3 i {
    color: #2196F3;
}

.add-task-btn {
    width: 36px;
    height: 36px;
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 8px;
    color: #2196F3;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-task-btn:hover {
    background: rgba(33, 150, 243, 0.2);
    transform: scale(1.05);
}

/* Tasks List Container */
.tasks-list-container {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding-bottom: 1rem;
}

.tasks-list {
    padding: 0.5rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.task-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.task-item:hover {
    background: rgba(33, 150, 243, 0.1);
    border-color: rgba(33, 150, 243, 0.3);
}

.task-item.active {
    background: rgba(33, 150, 243, 0.15);
    border-color: #2196F3;
}

.task-info {
    flex: 1;
}

.task-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.task-date {
    color: #a0a0a0;
    font-size: 0.8rem;
}

.task-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    white-space: nowrap;
}

.status-completed {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.status-in-progress {
    color: #FFC107;
    background: rgba(255, 193, 7, 0.1);
}

.status-error {
    color: #F44336;
    background: rgba(244, 67, 54, 0.1);
}

.task-status i {
    font-size: 0.9rem;
}

/* Task Details Content */
.task-content {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.task-apply-btn {
    padding: 1rem 1.5rem;
    background: rgba(33, 150, 243, 0.1);
    border: 2px solid rgba(33, 150, 243, 0.3);
    color: #2196F3;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.task-apply-btn:hover {
    background: rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
}

/* User Section (fixed at bottom) */
.user-section {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
    background: rgba(15, 25, 45, 0.95);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.user-icon {
    font-size: 2rem;
    color: #2196F3;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.username {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}

.user-role {
    color: #a0a0a0;
    font-size: 0.8rem;
}

.logout-btn {
    padding: 0.75rem 1rem;
    background: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.3);
    color: #ff5757;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    box-sizing: border-box;
}

.logout-btn:hover {
    background: rgba(255, 87, 87, 0.2);
    border-color: #ff5757;
}

/* Select Wrapper */
.select-wrapper {
    position: relative;
}

.styled-select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(20, 30, 48, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.styled-select option {
    background: rgba(15, 25, 45, 0.95);
    color: #ffffff;
    padding: 0.75rem;
}

.eo-calendar {
    width: 100%;
    background: rgba(20, 30, 48, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.9rem;
}

.eo-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 0.75rem;
}

.eo-cal-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    flex: 1;
}

.eo-cal-nav {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.eo-cal-nav:hover {
    background: rgba(33, 150, 243, 0.18);
    border-color: rgba(33, 150, 243, 0.45);
}

.eo-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 6px;
}

.eo-cal-weekdays > div {
    color: #A0A0A0;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    padding: 0.25rem 0;
}

.eo-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.eo-cal-day {
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.eo-cal-day.muted {
    opacity: 0.35;
}

.eo-cal-day.available {
    cursor: pointer;
    color: #ffffff;
    border-color: rgba(33, 150, 243, 0.55);
    background: rgba(33, 150, 243, 0.14);
}

.eo-cal-day.available:hover {
    transform: translateY(-1px);
    background: rgba(33, 150, 243, 0.22);
}

.eo-cal-day.selected {
    border-color: rgba(76, 175, 80, 0.85);
    background: rgba(76, 175, 80, 0.18);
}

.eo-cal-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.eo-cal-selected-label {
    color: #A0A0A0;
    font-size: 0.85rem;
    font-weight: 600;
}

.eo-cal-selected {
    color: #4CAF50;
    font-size: 0.9rem;
    font-weight: 700;
}

.styled-select:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.2);
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0a0a0;
    pointer-events: none;
}

/* Map Container - 80% width, 100% height */
.map-container {
    width: 80%;
    height: 100vh;
    position: relative;
    background: #0c1a2d;
}

.map-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.map-wrapper .leaflet-container {
    width: 100%;
    height: 100% !important;
    background: #0c1a2d;
}

/* Fix for Leaflet map height */
.leaflet-container {
    height: 100vh !important;
}

.leaflet-attribution-flag {
    display: none;
}

/* Additional CSS for autocomplete prevention */
@keyframes autofill {
    0%, 100% {
        background: rgba(20, 30, 48, 0.9);
        color: #ffffff;
    }
}

input:-webkit-autofill {
    animation-name: autofill;
    animation-fill-mode: both;
    -webkit-text-fill-color: #ffffff !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: rgba(33, 150, 243, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(33, 150, 243, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .page-container {
        flex-direction: column;
    }

    .side-panel {
        width: 100%;
        height: 400px;
        border-right: none;
        border-bottom: 1px solid rgba(64, 156, 255, 0.2);
    }

    .map-container {
        width: 100%;
        height: calc(100vh - 400px);
    }
}