/* Migration Banner Styles - Based on Mantine Theme */
/* Add to your existing CSS */
.migration-banner {
    background: #fff;
    color: #333;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
    position: relative;
    overflow: hidden;
    animation: slideDown 0.5s ease-out;
}

/* Shimmer overlay */
.migration-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(33, 150, 243, 0.2),
        transparent
    );
    animation: shimmer 3s infinite;
    animation-delay: 1s; /* Start after banner slides in */
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

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

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(33, 150, 243, 0);
    }
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0.75rem auto 1.25rem;

    position: relative;
    z-index: 1; /* Content above shimmer */
}

.banner-icon {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.banner-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.banner-text strong {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    color: #2196f3;
}

.banner-description {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    display: flex;
    padding-top: 5px;
}

.gettickr-logo {
    margin: 0 6px 0 4px;
}

.banner-cta {
    background: #2196f3;
    color: #fff;
    padding: 0.45rem 0.875rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.banner-cta:hover {
    background: #1976d2;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
    animation: none;
}

.banner-cta:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .migration-banner {
        padding: 0.65rem 1rem;
    }

    .banner-content {
        gap: 0.5rem;
    }

    .banner-text {
        flex-direction: column;
        gap: 0.25rem;
    }

    .banner-text strong,
    .banner-description {
        font-size: 0.85rem;
    }

    .banner-icon {
        font-size: 1.1rem;
    }

    .banner-cta {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}
