/* ==========================
   RESET GLOBAL
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* ==========================
   ESTILOS PARA INDEX.HTML (Receita Federal)
========================== */
body {
    background-color: #005ca9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Container do index */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Cartão de boas-vindas */
.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 350px;
    text-align: center;
}

/* Logo da Receita Federal */
.logo {
    width: 120px;
    margin-bottom: 10px;
}

/* Título do index */
h2 {
    font-size: 18px;
    margin: 15px 0;
}

/* Parágrafo e links */
p {
    font-size: 12px;
    color: #555;
}

a {
    color: #005ca9;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Botão de entrada */
button {
    background-color: #005ca9;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

button:hover {
    background-color: #004080;
}

/* ==========================
   RESET GLOBAL
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* ==========================
   ESTILOS PARA LOGIN.HTML (gov.br)
========================== */
.login-body {
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Cabeçalho */
.login-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: white;
    border-bottom: 1px solid #ddd;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Adicionando sombra */
}

.gov-logo {
    width: 120px;
}

#acessibilidade {
    display: flex;
    gap: 20px;
}

#acessibilidade a {
    color: #005ca9;
    text-decoration: none;
    font-size: 14px;
}

/* ==========================
   CONTAINER PRINCIPAL
========================== */
.login-container {
    display: flex;
    width: 98vw;
    max-width: 98%;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    padding: 40px;
    align-items: center;
}

/* Área esquerda (Imagem) */
.login-left {
    background-color: white;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    margin-left: 5vw; /* Aumentado mais um dedo */
}

.gov-banner {
    width: 100%;
    max-width: 850px; /* Reduzido em 25% */
    margin-bottom: 2vw; /* Aumentado mais um dedo para baixo */
}

/* Área direita (Caixa de login) */
.login-right {
    width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ==========================
   CAIXA DO LOGIN (CARD)
========================== */
.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Título */
h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Estilo dos labels */
label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
}

/* Estilo do input */
input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fffbe5; /* Fundo amarelo igual ao gov.br */
}

/* Botão "Continuar" */
button {
    background-color: #1351b4; /* Azul oficial do gov.br */
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

button:hover {
    background-color: #0c3d8a;
}

/* Ocultar as outras opções de login */
.login-options {
    display: none;
}

/* Link de ajuda */
.help {
    margin-top: 20px;
}

.help a {
    display: block;
    color: #005ca9;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 5px;
    font-weight: bold;
}

.help a:hover {
    text-decoration: underline;
}

/* Erro em vermelho abaixo do campo CPF */
.error-message {
    display: block;
    color: red;
    font-size: 14px;
    margin-top: 5px;
    font-weight: bold;
}

/* Responsividade */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width: 90%;
        padding: 20px;
    }

    .login-left, .login-right {
        width: 100%;
    }

    .gov-banner {
        max-width: 100%;
    }

    .card {
        max-width: 100%;
    }

    .login-left {
        margin-left: 0; /* Remove margem para telas pequenas */
        justify-content: center; /* Centraliza a imagem */
    }
}

/* ==========================
   ESTILO GERAL
========================== */
body {
    background-color: #f0f2f5;
    font-family: 'Arial', sans-serif;
    text-align: center;
}

/* ==========================
   ESTILOS PARA pendencia.html
========================== */
.pendencia-body, .chavepix-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.pendencia-container, .chavepix-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 500px;
}

/* Nome do usuário */
.nome {
    font-size: 22px;
    font-weight: bold;
    color: #1351b4;
}

/* Informações principais */
.label {
    font-size: 16px;
    font-weight: bold;
    color: #444;
}

.cpf, .valor, .vencimento, .status {
    font-size: 16px;
    font-weight: bold;
    color: #222;
}

.status {
    color: red;
}

/* Certidões */
.certidoes p {
    font-size: 14px;
    margin: 5px 0;
}

/* Valor total */
.valor-total {
    font-size: 14px;
    margin-top: 15px;
}

.destaque {
    font-size: 18px;
    font-weight: bold;
    color: red;
}

/* Botão REGULARIZAR */
.btn-regularizar, .btn-copiar {
    background-color: #1351b4;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s ease-in-out;
}

.btn-regularizar:hover, .btn-copiar:hover {
    background-color: #0c3d8a;
    transform: scale(1.05);
}

/* ==========================
   ESTILOS PARA CHAVEPIX.html
========================== */
.chavepix-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Caixa principal */
.chavepix-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 500px;
    text-align: center;
    border-top: 5px solid #1351b4;
}

/* Aviso de IMPORTANTE */
.aviso {
    background: red !important;
    color: white !important; /* Garante que o texto fique branco */
    font-weight: bold;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Evita que heranças do CSS mudem a cor do texto */
.aviso p {
    color: white !important;
    font-size: 16px;
    font-weight: bold;
}



/* Caixa de informações */
.info-box {
    background: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Rótulos */
.label {
    font-size: 16px;
    font-weight: bold;
    color: #444;
    text-transform: uppercase;
    margin-top: 10px;
}

/* Texto das informações */
.valor-info {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

/* Valor com destaque */
.valor-destaque {
    font-size: 22px;
    font-weight: bold;
    color: #d9534f;
}

/* Instruções */
.instrucoes {
    font-size: 14px;
    color: #333;
    margin-top: 15px;
}

/* Botão COPIAR CHAVE */
.btn-copiar {
    background-color: #1351b4;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s ease-in-out;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-copiar:hover {
    background-color: #0c3d8a;
    transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 600px) {
    .chavepix-container {
        width: 90%;
        padding: 20px;
    }
}