/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0c1725, #042e40); /* Degradê com as cores primária e secundária */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #0c1725;
}

/* Estilo do contêiner */
.container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 100%;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

/* Efeito de fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Título */
h1 {
    font-size: 28px;
    color: #0c1725; /* Cor primária */
    margin-bottom: 20px;
    font-weight: bold;
}

/* Estilos dos inputs */
input[type="email"],
input[type="file"] {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito ao focar nos inputs */
input[type="email"]:focus,
input[type="file"]:focus {
    border-color: #035a5a; /* Cor de apoio 1 */
    box-shadow: 0 0 8px rgba(3, 90, 90, 0.3);
    outline: none;
}

/* Botão estilizado */
button {
    background-color: #035a5a; /* Cor de apoio 1 */
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito hover no botão */
button:hover {
    background-color: #02a2b1; /* Cor de apoio 2 */
    box-shadow: 0 6px 15px rgba(2, 162, 177, 0.4);
}

/* Label */
label {
    color: #042e40; /* Cor secundária */
    font-weight: bold;
    display: block;
    text-align: left;
    margin-bottom: 8px;
}

/* Mensagem de feedback */
.message {
    margin-top: 20px;
    font-size: 16px;
    color: #035a5a;
}

/* Estilo para a barra de carregamento e spinner */
#loading {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Ajuste da barra de progresso */
.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.progress {
    width: 0;
    height: 100%;
    background-color: #035a5a;
    animation: progressAnimation 2s ease-in-out forwards;
}

@keyframes progressAnimation {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Texto de carregamento */
#loading p {
    color: #035a5a; /* Cor de apoio 1 */
    font-size: 16px;
    margin-top: 20px; /* Ajustado para melhorar o espaçamento */
}

/* Confirmação */
.confirmation-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 100%;
    text-align: center;
    margin-top: 20px; /* Adiciona margem superior */
    animation: fadeIn 1s ease-in-out;
}

/* Título do formulário de confirmação */
.confirmation-container h1 {
    font-size: 28px;
    color: #0c1725; /* Cor primária */
    margin-bottom: 30px; /* Aumenta o espaçamento entre o título e o texto */
    font-weight: bold;
}

/* Texto dentro da confirmação */
.confirmation-container p {
    font-size: 18px;
    color: #042e40; /* Cor secundária */
    margin-bottom: 20px; /* Adiciona espaçamento entre os parágrafos */
}

/* Botão de envio na página de confirmação */
.confirmation-container .submit-btn {
    background-color: #035a5a;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.confirmation-container .submit-btn:hover {
    background-color: #02a2b1;
    box-shadow: 0 6px 15px rgba(2, 162, 177, 0.4);
}

/* Estilo da barra de progresso */
.progress-bar {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.progress {
    width: 0;
    height: 15px;
    background-color: #035a5a; /* Cor do progresso */
    border-radius: 10px;
    transition: width 0.3s ease;
}

#loading p {
    margin-top: 10px;
    color: #035a5a;
}

/* Centraliza o spinner de carregamento */
#loading {
    text-align: center;
    margin-top: 20px;
}