/* assets/style/redirect.css */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #222;
    color: #fff;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.redirect-container {
    text-align: center;
    padding: 2rem;
    background-color: #333;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    width: 400px;
}

.redirect-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.loading-dots {
    display: inline-block;
    margin-left: 10px;
}

.loading-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 2px;
    background-color: #ff6600;
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
}

.redirect-container p {
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #ff6600;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #e65c00;
}

@media (max-width: 480px) {
    .redirect-container {
        padding: 1.5rem;
        width: 90%;
    }

    .redirect-container h1 {
        font-size: 1.5rem;
    }

    .redirect-container p {
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 0.6rem 1.2rem;
    }
}
