/**
 * Custom Styles for Redirect Page
 */

/* Body gradient background */
.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Card styling */
.redirect-card {
    border-radius: 15px;
    animation: fadeIn 0.5s ease-in;
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spinner container */
.spinner-container {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Progress bar styling */
.progress {
    border-radius: 10px;
    background-color: #e9ecef;
}

.progress-bar {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.1s linear;
}

/* Card title */
.card-title {
    color: #333;
    font-weight: 600;
}

/* Countdown styling */
#countdown {
    font-size: 1.5rem;
    color: #667eea;
}

/* Button styling */
.btn-primary {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 10px 30px;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .redirect-card {
        margin: 20px;
    }
    
    .card-body {
        padding: 2rem !important;
    }
    
    #countdown {
        font-size: 1.2rem;
    }
}

/* Security badge */
.text-muted small {
    font-size: 0.85rem;
}

/* Alert styling */
.alert {
    border-radius: 10px;
    animation: fadeIn 0.5s ease-in;
}

/* Loading animation */
.spinner-border {
    border-width: 0.3rem;
}

/* Custom colors for Bootstrap */
:root {
    --bs-primary: #667eea;
    --bs-primary-rgb: 102, 126, 234;
}
