/* Theme Switcher Banner - TraPay */
.theme-switcher-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--trapay-primary, #0d3e7e) 0%, var(--trapay-secondary, #1e40af) 100%);
    color: white;
    padding: 12px 20px;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.4s ease-out;
}

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

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

.theme-switcher-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.theme-switcher-icon {
    flex-shrink: 0;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.theme-switcher-text span {
    line-height: 1.5;
}

.theme-switcher-text strong {
    font-weight: 700;
}

.theme-switcher-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-switcher-btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid transparent;
}

.theme-switcher-btn-primary {
    background: white;
    color: var(--trapay-primary, #0d3e7e);
    border-color: white;
}

.theme-switcher-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.theme-switcher-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.theme-switcher-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.theme-switcher-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.theme-switcher-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.theme-switcher-close svg {
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .theme-switcher-banner {
        padding: 10px 15px;
    }

    .theme-switcher-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .theme-switcher-text {
        flex-direction: column;
        gap: 8px;
    }

    .theme-switcher-text span {
        font-size: 13px;
    }

    .theme-switcher-actions {
        width: 100%;
        justify-content: center;
    }

    .theme-switcher-btn {
        font-size: 12px;
        padding: 6px 16px;
    }

    .theme-switcher-close {
        position: absolute;
        top: 8px;
        left: 8px;
    }
}

/* Tablet Responsive */
@media (max-width: 992px) and (min-width: 769px) {
    .theme-switcher-text span {
        font-size: 13px;
    }

    .theme-switcher-btn {
        font-size: 12px;
        padding: 7px 16px;
    }
}

/* Add top padding to body to prevent content overlap */
body {
    padding-top: 48px;
}

@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }
}
