html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Map activation banner styles */
.map-activation-banner {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: opacity 0.3s ease;
}

.map-activation-banner:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Ensure map containers are positioned correctly */
#map, #suggestion-map, #admin-map {
    position: relative;
}

/* Mobile-friendly map interaction */
@media (max-width: 768px) {
    .map-activation-banner {
        padding: 10px 15px !important;
        font-size: 13px !important;
    }
    
    .map-activation-banner span:first-child {
        font-size: 18px !important;
    }
}

/* Ensure draggable markers work on touch devices */
.editable-point-marker {
    touch-action: none !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Home Page Styles */
.main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    transition: background-color 0.5s ease;
    overflow-x: hidden;
}

/* Logo in Nav Bar */
.logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    flex-shrink: 0;
}

.site-logo {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
    .logo-center {
        padding: 0;
    }
    
    .site-logo {
        max-height: 60px;
    }
}

.halloween-page {
    background: linear-gradient(to bottom, #1a0000 0%, #2d0000 50%, #1a0000 100%);
}

.christmas-page {
    background: linear-gradient(to bottom, #0a1a0a 0%, #1a3a1a 50%, #0a1a0a 100%);
}

.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.5s ease;
    position: relative;
}

.logo-and-buttons-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.buttons-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

@media (max-width: 768px) {
    .toggle-container {
        padding: 12px 15px;
    }
    
    .logo-and-buttons-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo-center {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .buttons-row {
        display: flex;
        flex-direction: row;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }
    
    /* Buttons side by side on mobile */
    .buttons-row .toggle-btn {
        flex: 1;
        max-width: 150px;
        min-width: 120px;
    }
}

/* Halloween Theme */
.toggle-container.halloween-theme {
    background: linear-gradient(135deg, #8B0000 0%, #FF4500 50%, #FF8C00 100%);
}

/* Christmas Theme */
.toggle-container.christmas-theme {
    background: linear-gradient(135deg, #1a5f1a 0%, #228B22 50%, #32CD32 100%);
}

.nav-links {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

@media (max-width: 768px) {
    .nav-links {
        margin-left: 0;
        margin-top: 10px;
    }
}

.nav-link-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    font-size: 14px;
}

@media (max-width: 768px) {
    .nav-link-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.nav-link-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
}

.toggle-btn {
    padding: 12px 30px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .toggle-btn {
        padding: 10px 20px;
        font-size: 18px;
        flex: 1;
        max-width: 150px;
    }
}

.toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.toggle-btn.active {
    background: white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.halloween-theme .toggle-btn.active {
    color: #FF4500;
}

.christmas-theme .toggle-btn.active {
    color: #228B22;
}

.map-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 200px);
    min-height: 400px;
    background: #f0f0f0;
    overflow: hidden;
    flex-shrink: 0;
}

.suggest-button-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.suggest-button-floating {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.suggest-button-floating:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: #333;
}

@media (max-width: 768px) {
    .map-container {
        height: calc(100vh - 180px);
        min-height: 300px;
    }
    
    .suggest-button-container {
        bottom: 15px;
        right: 15px;
    }
    
    .suggest-button-floating {
        padding: 10px 20px;
        font-size: 14px;
    }
}

.map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

@media (max-width: 768px) {
    .map {
        min-height: 300px;
    }
}

/* Leaflet map container styles */
.leaflet-container {
    height: 100% !important;
    width: 100% !important;
    z-index: 1;
    min-height: 400px;
}

@media (max-width: 768px) {
    .leaflet-container {
        min-height: 300px;
    }
}

/* Fix for Leaflet tiles not loading */
.leaflet-tile-container {
    visibility: visible !important;
}

/* Custom marker styles */
.custom-marker {
    background: transparent;
    border: none;
}

/* Welcome Banner */
.welcome-banner {
    padding: 15px 20px;
    text-align: center;
    transition: all 0.5s ease;
}

.halloween-banner {
    background: linear-gradient(135deg, #8B0000 0%, #FF4500 50%, #FF8C00 100%);
}

.christmas-banner {
    background: linear-gradient(135deg, #1a5f1a 0%, #228B22 50%, #32CD32 100%);
}

.welcome-text {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .welcome-banner {
        padding: 12px 15px;
    }
    
    .welcome-text {
        font-size: 14px;
    }
}

/* Info Panel Below Map */
.info-panel-below {
    width: 100%;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUpFromBottom 0.4s ease;
    z-index: 1000;
    transition: all 0.5s ease;
}

.info-panel-below.halloween-panel {
    background: linear-gradient(to bottom, #1a0000 0%, #2d0000 50%, #1a0000 100%);
    border-top: 3px solid #FF4500;
}

.info-panel-below.christmas-panel {
    background: linear-gradient(to bottom, #0a1a0a 0%, #1a3a1a 50%, #0a1a0a 100%);
    border-top: 3px solid #228B22;
}

@keyframes slideUpFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.info-panel-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    position: relative;
}

@media (max-width: 768px) {
    .info-panel-content {
        padding: 20px 15px;
    }
}

.info-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
    padding-right: 60px; /* Make room for the close button */
}

.info-panel-header h2 {
    margin: 0;
    color: white;
    font-size: 28px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .info-panel-header h2 {
        font-size: 22px;
    }
    
    .info-panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-right: 50px; /* Less padding on mobile for smaller close button */
    }
}

.info-panel-header .mode-badge {
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .info-panel-header .mode-badge {
        padding: 6px 15px;
        font-size: 12px;
    }
}

.info-panel-body {
    margin-top: 15px;
}

.info-panel-body .description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .info-panel-body .description {
        font-size: 14px;
        margin-bottom: 15px;
    }
}

.info-details {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.halloween-panel .info-details {
    border-left: 4px solid #FF4500;
}

.christmas-panel .info-details {
    border-left: 4px solid #228B22;
}

@media (max-width: 768px) {
    .info-details {
        padding: 12px 15px;
    }
}

.info-details .location {
    margin: 0;
    color: white;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.info-details .last-verified {
    margin: 10px 0 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-style: italic;
}

@media (max-width: 768px) {
    .info-details .location {
        font-size: 14px;
    }
    
    .info-details .last-verified {
        font-size: 13px;
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: white;
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 36px;
    transition: all 0.2s;
    z-index: 10;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .close-btn {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        line-height: 31px;
        font-size: 20px;
    }
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Marker hover popup styling */
.marker-hover-popup .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.marker-hover-popup .leaflet-popup-content {
    margin: 0;
}

/* Enhanced marker hover effect */
.custom-marker div {
    transition: transform 0.2s ease;
}

.custom-marker:hover div {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Submit Suggestion Page */
.submit-container {
    min-height: 100vh;
    padding: 20px;
    transition: all 0.5s ease;
}

.submit-container.halloween-submit {
    background: linear-gradient(to bottom, #1a0000 0%, #2d0000 50%, #1a0000 100%);
}

.submit-container.christmas-submit {
    background: linear-gradient(to bottom, #0a1a0a 0%, #1a3a1a 50%, #0a1a0a 100%);
}

.submit-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: slideInUp 0.5s ease;
}

.halloween-submit .submit-form {
    border-color: rgba(255, 69, 0, 0.5);
}

.christmas-submit .submit-form {
    border-color: rgba(34, 139, 34, 0.5);
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.submit-form h2 {
    margin: 0 0 10px 0;
    color: #333;
    text-align: center;
    font-size: 32px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.submit-form .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.halloween-submit .form-group input:focus,
.halloween-submit .form-group textarea:focus,
.halloween-submit .form-group select:focus {
    border-color: #FF4500;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.2);
}

.christmas-submit .form-group input:focus,
.christmas-submit .form-group textarea:focus,
.christmas-submit .form-group select:focus {
    border-color: #228B22;
    box-shadow: 0 0 0 3px rgba(34, 139, 34, 0.2);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.mode-buttons {
    display: flex;
    gap: 15px;
}

.mode-btn {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.mode-btn:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.mode-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.halloween-submit .mode-btn.active {
    border-color: #FF4500;
    background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.christmas-submit .mode-btn.active {
    border-color: #228B22;
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.4);
}

.map-picker {
    margin: 20px 0;
}

.manual-drawing-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.manual-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.manual-btn:hover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: translateY(-2px);
}

.manual-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.halloween-submit .manual-btn.active {
    border-color: #FF4500;
    background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
    color: white;
}

.christmas-submit .manual-btn.active {
    border-color: #228B22;
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    color: white;
}

.btn-finish-drawing,
.btn-edit-drawing {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    margin-right: 10px;
    transition: all 0.3s;
}

.halloween-submit .btn-finish-drawing,
.halloween-submit .btn-edit-drawing {
    background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
}

.christmas-submit .btn-finish-drawing,
.christmas-submit .btn-edit-drawing {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
}

.btn-finish-drawing:hover,
.btn-edit-drawing:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-edit-drawing {
    background: #007bff;
}

.halloween-submit .btn-edit-drawing {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b6b 100%);
}

.christmas-submit .btn-edit-drawing {
    background: linear-gradient(135deg, #32cd32 0%, #4ecdc4 100%);
}

.drawing-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.suggestion-map {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-submit,
.btn-cancel {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit {
    background: #667eea;
    color: white;
}

.halloween-submit .btn-submit {
    background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.christmas-submit .btn-submit {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}

.btn-submit:hover:not(:disabled) {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.halloween-submit .btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #FF6347 0%, #FFA500 100%);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.5);
}

.christmas-submit .btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #32CD32 0%, #90EE90 100%);
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.5);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cancel {
    background: #e0e0e0;
    color: #333;
}

.btn-cancel:hover {
    background: #d0d0d0;
}

.error-message {
    padding: 15px;
    background: #fee;
    border: 2px solid #fcc;
    border-radius: 8px;
    color: #c33;
    margin: 20px 0;
}

.success-message {
    padding: 15px;
    background: #efe;
    border: 2px solid #cfc;
    border-radius: 8px;
    color: #3c3;
    margin: 20px 0;
}

/* Legal Pages (Terms, Privacy) */
.legal-page {
    min-height: calc(100vh - 200px);
    padding: 40px 20px 60px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.5s ease;
}

/* Halloween theme for legal pages */
.legal-page.halloween-page {
    background: linear-gradient(to bottom, #1a0000 0%, #2d0000 50%, #1a0000 100%);
    position: relative;
}

.legal-page.halloween-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 69, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Christmas theme for legal pages */
.legal-page.christmas-page {
    background: linear-gradient(to bottom, #0a1a0a 0%, #1a3a1a 50%, #0a1a0a 100%);
    position: relative;
}

.legal-page.christmas-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(34, 139, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(50, 205, 50, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Ensure body/layout background matches theme for legal pages */
.layout:has(.legal-page.halloween-page) {
    background: linear-gradient(to bottom, #1a0000 0%, #2d0000 50%, #1a0000 100%) !important;
}

.layout:has(.legal-page.christmas-page) {
    background: linear-gradient(to bottom, #0a1a0a 0%, #1a3a1a 50%, #0a1a0a 100%) !important;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.halloween-page .legal-container {
    border-color: rgba(255, 69, 0, 0.3);
}

.christmas-page .legal-container {
    border-color: rgba(34, 139, 34, 0.3);
}

.legal-container h1 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.halloween-page .legal-container h1 {
    background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.christmas-page .legal-container h1 {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-container .last-updated {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    font-style: italic;
    text-align: center;
}

.legal-container section {
    margin-bottom: 35px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.legal-container section:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateX(5px);
}

.legal-container h2 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 26px;
    font-weight: bold;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
    position: relative;
}

.halloween-page .legal-container h2 {
    border-bottom-color: #FF4500;
    color: #8B0000;
}

.christmas-page .legal-container h2 {
    border-bottom-color: #228B22;
    color: #1a5f1a;
}

.halloween-page .legal-container h2::before {
    content: '🎃';
    margin-right: 10px;
}

.christmas-page .legal-container h2::before {
    content: '✨';
    margin-right: 10px;
}

.legal-container h3 {
    margin: 20px 0 10px 0;
    color: #555;
    font-size: 18px;
}

.legal-container p {
    margin: 0 0 15px 0;
    color: #555;
    line-height: 1.7;
    font-size: 16px;
}

.legal-container ul {
    margin: 15px 0;
    padding-left: 30px;
    color: #555;
    line-height: 1.8;
}

.legal-container ul li {
    margin-bottom: 10px;
}

.legal-container a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.legal-container a:hover {
    text-decoration: underline;
}

.legal-container .back-link {
    margin-top: 40px;
    text-align: center;
}

.legal-container .btn-back {
    display: inline-block;
    padding: 14px 35px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.halloween-page .legal-container .btn-back {
    background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.christmas-page .legal-container .btn-back {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.4);
}

.legal-container .btn-back:hover {
    background: #5568d3;
    transform: translateY(-3px) scale(1.05);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.halloween-page .legal-container .btn-back:hover {
    background: linear-gradient(135deg, #FF6347 0%, #FFA500 100%);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.6);
}

.christmas-page .legal-container .btn-back:hover {
    background: linear-gradient(135deg, #32CD32 0%, #90EE90 100%);
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.6);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 20px 15px;
    }

    .legal-container {
        padding: 25px 20px;
    }

    .legal-container h1 {
        font-size: 28px;
    }

    .legal-container h2 {
        font-size: 20px;
    }

    .legal-container p,
    .legal-container ul {
        font-size: 15px;
    }
}

/* Admin Page */
.admin-container {
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.admin-header {
    max-width: 1200px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

a.btn-home,
.admin-header-actions a.btn-home {
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    font-family: inherit !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

a.btn-home::before,
.admin-header-actions a.btn-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: 1;
}

a.btn-home:hover::before,
.admin-header-actions a.btn-home:hover::before {
    left: 100%;
}

a.btn-home:hover,
.admin-header-actions a.btn-home:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

a.btn-home:active,
.admin-header-actions a.btn-home:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
}

a.btn-home:visited,
.admin-header-actions a.btn-home:visited {
    color: white !important;
    text-decoration: none !important;
}

a.btn-home:focus,
.admin-header-actions a.btn-home:focus {
    outline: none !important;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3), 0 0 0 3px rgba(102, 126, 234, 0.2) !important;
}

a.btn-home span,
.admin-header-actions a.btn-home span {
    position: relative;
    z-index: 2;
}

a.btn-home span:first-child,
.admin-header-actions a.btn-home span:first-child {
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.loading,
.no-suggestions {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.suggestions-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.suggestion-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.suggestion-header {
    margin-bottom: 15px;
}

.suggestion-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.mode-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.mode-badge.frights {
    background: #ff6b6b;
    color: white;
}

.mode-badge.lights {
    background: #4ecdc4;
    color: white;
}

.date {
    color: #666;
    font-size: 14px;
}

.suggestion-content h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.suggestion-content .description {
    color: #666;
    margin-bottom: 15px;
}

.suggestion-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.suggestion-details p {
    margin: 8px 0;
    color: #555;
}

.preview-map {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    margin: 15px 0;
}

.suggestion-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-approve,
.btn-dismiss {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-approve {
    background: #4caf50;
    color: white;
}

.btn-approve:hover:not(:disabled) {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-dismiss {
    background: #f44336;
    color: white;
}

.btn-dismiss:hover:not(:disabled) {
    background: #da190b;
    transform: translateY(-2px);
}

.btn-approve:disabled,
.btn-dismiss:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.message {
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.message.success {
    background: #efe;
    border: 2px solid #cfc;
    color: #3c3;
}

.message.error {
    background: #fee;
    border: 2px solid #fcc;
    color: #c33;
}

.admin-footer {
    max-width: 1200px;
    margin: 30px auto 0;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 12px 30px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

.btn-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.btn-link:hover {
    text-decoration: underline;
}

/* Admin Login */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.admin-login-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
}

.admin-login-header {
    margin-bottom: 30px;
    text-align: center;
}

.admin-login-box h2 {
    margin: 0;
    color: #333;
}

.admin-login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.btn-return-home {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.btn-return-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.btn-return-home:hover::before {
    left: 100%;
}

.btn-return-home:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-return-home:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-return-home:visited {
    color: white;
    text-decoration: none;
}

.btn-return-home:focus {
    outline: none;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3), 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.btn-return-home span {
    position: relative;
    z-index: 2;
}

.btn-return-home span:first-child {
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.admin-login-box .form-group {
    margin-bottom: 20px;
}

.admin-login-box label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
}

.admin-login-box input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.admin-login-box input:focus {
    outline: none;
    border-color: #667eea;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover:not(:disabled) {
    background: #5568d3;
    transform: translateY(-2px);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error-message {
    background: #fee;
    border: 2px solid #fcc;
    color: #c33;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.btn-logout {
    padding: 12px 24px;
    background: linear-gradient(135deg, #f44336 0%, #e53935 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(244, 67, 54, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-logout::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-logout:hover::before {
    left: 100%;
}

.btn-logout:hover {
    background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(244, 67, 54, 0.4);
}

.btn-logout:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.btn-logout span:first-child {
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto 30px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #333;
    background: #f5f5f5;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

/* Admin Content */
.admin-content {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.admin-section h3 {
    margin: 0 0 25px 0;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.admin-section h4 {
    margin: 20px 0 15px 0;
    color: #555;
    font-size: 18px;
}

.admin-sections-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.collapsible-section {
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.section-header {
    padding: 20px;
    background: #e9ecef;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s;
    border-bottom: 2px solid #dee2e6;
}

.section-header:hover {
    background: #dee2e6;
}

.section-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-icon {
    font-size: 14px;
    color: #667eea;
    font-weight: bold;
    min-width: 20px;
}

.section-content {
    padding: 20px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 2000px;
    }
}

.existing-points-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.points-list {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.point-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.point-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.point-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.point-header h5 {
    margin: 0;
    color: #333;
    font-size: 20px;
}

.point-actions {
    display: flex;
    gap: 10px;
}

.point-details {
    color: #666;
    line-height: 1.6;
}

.point-details p {
    margin: 8px 0;
}

.point-details strong {
    color: #333;
}

.no-points {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-cancel {
    padding: 12px 30px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.admin-form-container {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.btn-submit {
    padding: 12px 30px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover:not(:disabled) {
    background: #5568d3;
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.status-badge.pending {
    background: #ffa726;
    color: white;
}

.status-badge.approved {
    background: #4caf50;
    color: white;
}

.btn-edit,
.btn-delete {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-edit {
    background: #2196f3;
    color: white;
}

.btn-edit:hover:not(:disabled) {
    background: #1976d2;
    transform: translateY(-2px);
}

.btn-delete {
    background: #f44336;
    color: white;
}

.btn-delete:hover:not(:disabled) {
    background: #da190b;
    transform: translateY(-2px);
}

.btn-edit:disabled,
.btn-delete:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.modal-close:hover {
    color: #333;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: flex-end;
}

.btn-delete-confirm {
    padding: 12px 30px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-delete-confirm:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.modal-content .warning {
    color: #dc3545;
    font-weight: 600;
    margin: 15px 0;
}

.btn-save {
    flex: 1;
    padding: 12px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-save:hover:not(:disabled) {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-cancel {
    flex: 1;
    padding: 12px;
    background: #757575;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel:hover:not(:disabled) {
    background: #616161;
    transform: translateY(-2px);
}

/* Diagnostics */
.diagnostics-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.diagnostics-section h4 {
    margin: 0 0 15px 0;
    color: #333;
}

.diagnostic-control {
    margin-bottom: 15px;
}

.diagnostic-control label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
}

.diagnostic-control input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.help-text {
    margin: 10px 0 0 0;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.btn-check,
.btn-clear,
.btn-refresh {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 10px;
}

.btn-check:hover,
.btn-clear:hover,
.btn-refresh:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

.health-check-controls {
    margin-bottom: 15px;
}

.health-checks {
    margin-top: 20px;
}

.health-check {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
}

.health-check.pass {
    border-left: 4px solid #4caf50;
}

.health-check.fail {
    border-left: 4px solid #f44336;
}

.check-icon {
    font-size: 20px;
}

.check-name {
    font-weight: 600;
    min-width: 150px;
}

.check-message {
    color: #666;
}

.log-controls {
    margin-bottom: 15px;
}

.log-window {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.log-entry {
    margin-bottom: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #333;
}

.log-entry:last-child {
    border-bottom: none;
}

.log-time {
    color: #858585;
    margin-right: 10px;
}

.log-level {
    font-weight: 600;
    margin-right: 10px;
}

.log-entry.INFO .log-level {
    color: #4ecdc4;
}

.log-entry.ERROR .log-level {
    color: #ff6b6b;
}

.log-entry.WARNING .log-level {
    color: #ffa726;
}

.log-message {
    color: #d4d4d4;
}

.no-logs {
    color: #858585;
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 100px;
    }
    
    .suggestion-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
}

/* Footer Styles */
.footer-container {
    width: 100%;
    padding: 40px 20px 20px;
    margin-top: auto;
    transition: all 0.5s ease;
}


.footer-container.halloween-footer {
    background: linear-gradient(to bottom, #1a0000 0%, #2d0000 50%, #1a0000 100%);
    border-top: 3px solid #FF4500;
}

.footer-container.christmas-footer {
    background: linear-gradient(to bottom, #0a1a0a 0%, #1a3a1a 50%, #0a1a0a 100%);
    border-top: 3px solid #228B22;
}

.footer-cta {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.halloween-footer .footer-cta {
    background: linear-gradient(135deg, #8B0000 0%, #FF4500 50%, #FF8C00 100%);
}

.christmas-footer .footer-cta {
    background: linear-gradient(135deg, #1a5f1a 0%, #228B22 50%, #32CD32 100%);
}

.footer-cta h3 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-cta p {
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.halloween-footer .cta-button {
    background: rgba(255, 69, 0, 0.8);
}

.christmas-footer .cta-button {
    background: rgba(34, 139, 34, 0.8);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.halloween-footer .cta-button:hover {
    background: rgba(255, 69, 0, 1);
}

.christmas-footer .cta-button:hover {
    background: rgba(34, 139, 34, 1);
}

.back-to-top {
    text-align: center;
    margin: 20px 0;
    padding: 10px 0;
}

.back-to-top a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.back-to-top a:hover {
    color: white;
    text-decoration: underline;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-column h4 {
    margin: 0 0 15px 0;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
    text-decoration: underline;
}

.halloween-footer .footer-column ul li a:hover {
    color: #FFB84D;
}

.christmas-footer .footer-column ul li a:hover {
    color: #90EE90;
}

.footer-copyright {
    max-width: 1200px;
    margin: 20px auto 0;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 12px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner.halloween-cookie {
    background: linear-gradient(135deg, #2d0000 0%, #8B0000 100%);
    border-top: 2px solid #FF4500;
}

.cookie-banner.christmas-cookie {
    background: linear-gradient(135deg, #0a1a0a 0%, #1a5f1a 100%);
    border-top: 2px solid #228B22;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 250px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    line-height: 1.4;
}

.cookie-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-accept {
    background: #228B22;
    color: white;
}

.cookie-banner.halloween-cookie .cookie-accept {
    background: #FF4500;
}

.cookie-banner.christmas-cookie .cookie-accept {
    background: #32CD32;
}

.cookie-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.cookie-banner.halloween-cookie .cookie-accept:hover {
    background: #FF8C00;
}

.cookie-banner.christmas-cookie .cookie-accept:hover {
    background: #90EE90;
}

.cookie-decline {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-text {
        min-width: auto;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}