/* Definições gerais */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #f8f9fa; /* Fundo mais claro */
    color: #003C59; /* Azul escuro da Celesc */
}

.container {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.content {
    padding: 30px;
    background: #fff; /* Fundo branco para suavizar o design */
    color: #003C59; /* Azul escuro da Celesc */
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    width: 150px;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.text-info {
    font-size: 1.2rem;
    margin-bottom: 30px;
    background: rgba(0, 255, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
    color: #003C59; /* Azul escuro da Celesc */
}

/* Spinner de carregamento centralizado */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #25D366; /* Cor do WhatsApp */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Texto de "Aguarde" com pontinhos */
.aguarde {
    font-size: 1.5rem;
    margin-top: 20px;
    font-weight: bold;
    color: #25D366; /* Cor do WhatsApp */
}

.dots {
    animation: dots 1.5s infinite steps(5, end);
}

@keyframes dots {
    0%, 100% { content: ''; }
    20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80% { content: '....'; }
}

/* Estilos do botão */
.btn-redirect {
    display: inline-block;
    padding: 15px 30px;
    background: #F9B601; /* Amarelo Celesc */
    color: #003C59; /* Azul escuro Celesc */
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
    transition: all 0.3s ease-in-out;
}

.btn-redirect:hover {
    background: #0091D7; /* Azul claro Celesc */
    transform: scale(1.1);
}

/* Destaque para "2ª via" */
.via-info {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
    color: #F9B601; /* Amarelo Celesc */
}

/* Responsividade para Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .content {
        padding: 20px;
        width: 90%;
    }

    .logo {
        width: 120px;
    }

    .btn-redirect {
        width: 100%;
        font-size: 1.5rem;
        padding: 20px 0;
    }
}
