:root {
    --primary-color: #0284c7;
    --primary-hover: #0369a1;
    --box-bg: #1e293b;
    --text-color: #0f172a;
    --white: #ffffff;
    --border-color: #cbd5e1;
    --error-color: #dc2626;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    /* Imagem de fundo alusiva à Trindade (Espírito, Perispírito e Corpo) com sobreposição de tom escuro/suave para legibilidade */
    background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.6)), url('image/trindade_materia_perispirito_espirito.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container-header {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 30px 20px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.container-header h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.container-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--error-color);
    letter-spacing: 1px;
}

.form-wrapper {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 40px 20px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box {
    width: 100%;
    max-width: 400px;
    background-color: var(--box-bg);
    border-radius: 12px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.text-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.text-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.fcc-btn1 {
    width: 100%;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fcc-btn1:hover {
    background-color: var(--primary-hover);
}

.fcc-btn1:active {
    transform: scale(0.98);
}

.mensagem-erro {
    margin-top: 20px;
    padding: 12px 16px;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 400px;
    width: 100%;
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .container-header, .form-wrapper {
        padding: 20px 15px;
    }
    .container-header h1 {
        font-size: 1.05rem;
    }
    .box {
        padding: 20px 16px;
    }
}