/* Modern Lost Place Map Styles */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --error-color: #ef4444;
    --bg-color: #f8fafc;
    --background-color: #f8fafc;
    --surface-color: #ffffff;
    --text-primary: #1e293b;
    --text-color: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --input-background: #ffffff;
    --disabled-background: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --z-nav: 1000;
    --z-controls: 999;
    --z-modal: 1002;
    --z-toast: 1003;
    --z-loader: 1004;
}

/* Dark Mode Theme */
[data-theme="dark"] {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #94a3b8;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --error-color: #ef4444;
    --bg-color: #0f172a;
    --background-color: #0f172a;
    --surface-color: #1e293b;
    --text-primary: #f1f5f9;
    --text-color: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --input-background: #1e293b;
    --disabled-background: #334155;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
}

/* Theme Switcher Styles */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.theme-switcher:hover {
    background-color: var(--bg-color);
    color: var(--text-primary);
}

.theme-switcher i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.theme-switcher:hover i {
    transform: rotate(180deg);
}

.theme-switcher.dark-mode i {
    color: #fbbf24;
}

.theme-switcher.light-mode i {
    color: #3b82f6;
}

/* Mobile Theme Switcher */
.mobile-theme-switcher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.mobile-theme-switcher .theme-switcher {
    flex: 1;
    justify-content: center;
    padding: 0.75rem;
    font-size: 1rem;
}

/* Toast adjustments for dark mode */
[data-theme="dark"] .toast {
    background: var(--surface-color);
    color: var(--text-primary);
    border-color: var(--border-color);
}

/* Modal adjustments for dark mode */
[data-theme="dark"] .modal {
    background: var(--surface-color);
    color: var(--text-primary);
}

[data-theme="dark"] .modal-header {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .modal-content {
    background: var(--surface-color);
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--input-background);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

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

html, body {
    height: 100%;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.content-container {
    min-height: 100vh;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Modern Navigation */
.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-nav);
    height: 64px;
    width: 100%;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-brand:hover {
    color: var(--primary-color);
    opacity: 0.8;
    text-decoration: none;
}

.nav-brand:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.nav-brand i {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgb(37 99 235 / 0.1);
}

.nav-mobile-toggle {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
}

.nav-mobile-toggle:hover {
    background-color: var(--bg-color);
}

/* Version Display */
.nav-version {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    margin-right: 1rem;
}

.mobile-version {
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    border-top: 1px solid var(--border-color);
}

/* Toast Notification - Force center positioning */
.toast {
    position: fixed !important;
    bottom: 2rem !important;
    left: 50% !important;
    right: auto !important; /* Override any right positioning */
    transform: translateX(-50%) translateY(200%) !important;
    background: #fff;
    color: #222;
    padding: 0.5rem 1rem;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    border: 1.5px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: var(--z-toast);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
    max-width: 400px;
    width: auto;
    font-size: 0.98rem;
    font-weight: 500;
    white-space: normal;
    word-break: break-word;
    text-align: left;
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 600px) {
    .toast {
        max-width: 90vw;
        padding: 0.5rem 0.7rem;
        font-size: 0.93rem;
        border-radius: 10px;
    }
    .toast-icon {
        font-size: 1.1rem;
    }
}

.toast.active,
.toast.show {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1;
    visibility: visible;
}

.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-right: 0.2rem;
}

.toast.success {
    border-left: 4px solid #10b981;
}
.toast.success .toast-icon {
    color: #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}
.toast.error .toast-icon {
    color: #ef4444;
}

.toast.warning {
    border-left: 4px solid #f59e0b;
}
.toast.warning .toast-icon {
    color: #f59e0b;
}

.toast.info {
    border-left: 4px solid #3b82f6;
}
.toast.info .toast-icon {
    color: #3b82f6;
}

.toast.update {
    border-left: 4px solid #8b5cf6;
    bottom: 2rem !important;
    top: auto !important;
}
.toast.update .toast-icon {
    color: #8b5cf6;
}

.toast.update.active,
.toast.update.show {
    transform: translateX(-50%) translateY(0) !important;
}

/* Loading Spinner */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 250, 252, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: var(--z-loader);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader.active {
    opacity: 1;
    visibility: visible;
}

.loader p {
    margin-top: 1rem;
    color: var(--text-secondary);
}

/* Animation for smooth interactions */
@media (prefers-reduced-motion: no-preference) {
    .nav-link,
    .control-btn {
        transition: all 0.2s ease;
    }
}

/* Focus styles for accessibility */
.control-btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    z-index: var(--z-modal);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 20000 !important;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.mobile-menu-link:hover {
    color: var(--primary-color);
}

.mobile-menu-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-menu-link i {
    font-size: 1.25rem;
}

/* Mobile menu responsive */
/* Navigation User Menu Styles */
.nav-user-menu {
    position: relative;
    display: none; /* Initially hidden, shown by JS when authenticated */
    align-items: center;
    margin-left: 1rem;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    white-space: nowrap;
}

.user-menu-btn:hover {
    background: var(--bg-color);
    border-color: var(--primary-color);
}

.user-menu-btn i:first-child {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.user-menu-btn i:last-child {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.user-menu-btn.active i:last-child {
    transform: rotate(180deg);
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
    padding: 0.5rem;
    display: none;
    z-index: 1000;
}

.user-menu-dropdown.active {
    display: block;
}

.user-menu-item {
    margin-bottom: 0.25rem;
}

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

.user-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.875rem;
}

.user-menu-link:hover {
    background: var(--bg-color);
}

.user-menu-link i {
    font-size: 1rem;
    color: var(--text-secondary);
    width: 18px;
    text-align: center;
}

.user-menu-link:hover i {
    color: var(--primary-color);
}

.user-menu-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .nav-mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .nav-version {
        display: none;
    }
    
    .nav-user-menu {
        margin-left: 0.5rem;
    }
    
    .user-menu-btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .user-menu-btn span {
        display: none;
    }
    
    .user-menu-dropdown {
        right: -1rem;
        min-width: 180px;
    }
} 

/* Profile Picture Styles */
.profile-picture-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}
.profile-picture-container {
  position: relative;
  width: 128px;
  height: 128px;
}
.profile-picture {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e5e7eb;
  background: #fff;
  display: block;
}
.profile-picture-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.2s;
  cursor: pointer;
  pointer-events: none;
  z-index: 10;
  text-shadow: 0 2px 8px #000, 0 0 4px #000;
}
.profile-picture-container:hover .profile-picture-overlay,
.profile-picture-container:focus-within .profile-picture-overlay {
  opacity: 1;
  pointer-events: auto;
}
#deleteProfilePicture {
  margin-top: 1rem;
  color: #e53935;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
} 

#profilePictureSpinner {
  display: none !important;
}

#profilePictureSpinner[style*="display: block"],
#profilePictureSpinner[style*="display:block"] {
  display: flex !important;
}

.profile-spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #e5e7eb;
  border-top: 5px solid #2563eb;
  border-radius: 50%;
  animation: profile-spin 1s linear infinite;
  display: block;
}
@keyframes profile-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add Location Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Standard modal class for compatibility */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Specific centering for upload modals only */
#uploadModal[style*="display: block"],
#uploadVideoModal[style*="display: block"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modal-overlay.active {
    display: flex !important;
}

.modal.active {
    display: flex !important;
}

.modal-content {
    background: var(--surface-color);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 20px 20px 0 0;
    min-height: 80px;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.2;
}

.modal-header h3 i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

#reportLocationModal .modal-header {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(239, 68, 68, 0.05));
    padding: 1.5rem 2rem !important;
    min-height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#reportLocationModal .modal-header h3 {
    margin: 0 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    line-height: 1.2 !important;
}

#reportLocationModal .modal-header h3 i {
    color: #dc3545;
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
}

.modal-close {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal-close:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--input-background);
    color: var(--text-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    min-height: 100px;
    line-height: 1.5;
}

.form-group textarea.is-valid {
    border-color: var(--success-color);
}

.form-group textarea.is-invalid {
    border-color: var(--error-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-help {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #475569;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

@media (max-width: 640px) {
    .modal-content {
        margin: 2rem 1rem;
        max-height: calc(100vh - 4rem);
        border-radius: 20px;
    }

    .modal-header {
        padding: 1.5rem 1.5rem;
        min-height: 80px;
    }

    .modal-header h3 {
        font-size: 1.25rem;
    }

    .modal-header h3 i {
        font-size: 1.1rem;
    }

    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 1.5rem;
        padding-bottom: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        margin-bottom: 1rem;
    }
} 

/* Help Panel Styles */
.help-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-color);
    border-left: 1px solid var(--border-color);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.help-panel.active {
    right: 0;
}

.help-panel-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-color);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.help-panel-header h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.help-panel-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
}

.help-panel-close:hover {
    background: rgba(255,255,255,0.1);
}

.help-panel-content {
    padding: 1.5rem;
}

.help-section {
    margin-bottom: 2rem;
}

.help-section h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-features {
    display: grid;
    gap: 1rem;
}

.help-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.help-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.help-feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.help-feature-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-color);
}

.help-feature-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.help-keyboard-shortcut {
    background: var(--bg-muted);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Help Button in Navigation */
.nav-help-btn {
    background: none;
    border: none;
    color: var(--nav-text-color);
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

.nav-help-btn:hover {
    background: var(--nav-hover-bg);
}

/* Map Controls Help Button - same as other control buttons */
.map-controls .nav-help-btn {
    width: 48px;
    height: 48px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.map-controls .nav-help-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .map-controls .nav-help-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .help-panel {
        width: 100vw;
        right: -100vw;
    }
    
    .help-panel-content {
        padding: 1rem;
    }
    
    .help-features {
        gap: 0.75rem;
    }
    
    .help-feature {
        padding: 0.75rem;
    }
}

/* Dark Mode Support */
[data-theme="dark"] .help-panel {
    background: var(--bg-color);
    border-left-color: var(--border-color);
}

[data-theme="dark"] .help-feature {
    background: var(--card-bg);
    border-color: var(--border-color);
} 