/* ==========================================================================
   TOP 2000 - Style System (Clean & Elegant Dark Gold Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Montserrat:wght@400;500;600;700&family=Poppins:wght@700&display=swap');

:root {
    --bg-main: #121214;
    --bg-card: #1a1a1e;
    --gold-main: #D4AF37;
    --gold-light: #F3E5AB;
    --border-subtle: rgba(212, 175, 55, 0.2);
    --text-main: #f0f0f3;
    --text-muted: #8e8e93;
    --font-heading: 'Cinzel Decorative', 'Montserrat', serif;
    --font-poppins: 'Poppins', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #1a0e05;
    background-image: url('../images/bg-orange.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 16px;
    overflow-x: hidden;
}

/* Container Principal (Mobile First) */
.app-container {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Header */
.header-banner {
    text-align: center;
    padding: 6px 0 2px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.header-logo {
    width: 110px;
    height: auto;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.5));
    transition: filter 0.3s ease, transform 0.2s ease;
}

.header-logo:hover {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1)) drop-shadow(0 0 35px rgba(255, 255, 255, 0.75));
    transform: scale(1.02);
}

.main-title {
    font-family: var(--font-poppins);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 4px #000000;
    opacity: 1;
}

/* Card de Countdown Especial para o TOP */
.top-countdown-card {
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(135deg, rgba(30, 20, 10, 0.78) 0%, rgba(18, 14, 10, 0.88) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    border-radius: 14px;
    padding: 12px 14px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 0 18px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    animation: countdownPulse 4s ease-in-out infinite;
}

.top-countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent);
    transform: skewX(-25deg);
    animation: countdownShine 6s infinite ease-in-out;
}

@keyframes countdownPulse {
    0%, 100% {
        border-color: rgba(212, 175, 55, 0.4);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 0 15px rgba(212, 175, 55, 0.18);
    }
    50% {
        border-color: rgba(212, 175, 55, 0.75);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 0 25px rgba(212, 175, 55, 0.35);
    }
}

@keyframes countdownShine {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}

.top-countdown-label {
    font-family: var(--font-poppins);
    font-size: 0.92rem;
    font-weight: 700;
    color: #f3e5ab;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0.95;
}

.top-countdown-sublabel {
    font-family: var(--font-poppins);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 12px rgba(212, 175, 55, 0.4);
    text-align: center;
}

.top-countdown-boxes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.top-countdown-box {
    flex: 1;
    max-width: 78px;
    background: rgba(0, 0, 0, 0.6);
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    border-radius: 10px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7);
}

.top-countdown-val {
    font-family: var(--font-poppins);
    font-size: 1.85rem;
    font-weight: 800;
    color: #D4AF37;
    line-height: 1.05;
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.6), 0 2px 4px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.5px;
}

.top-countdown-unit {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(240, 240, 243, 0.85);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

.top-countdown-sep {
    font-family: var(--font-poppins);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.85);
    animation: colonBlink 1s infinite;
    line-height: 1;
    margin-top: -12px;
}

@keyframes colonBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Card de Data/Hora da Live (MS e Brasília) */
.schedule-card {
    background: rgba(15, 12, 10, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0;
}

.schedule-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1;
}

.schedule-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.schedule-label i {
    font-size: 0.6rem;
}

.schedule-time {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.schedule-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
}

/* Card do Timer */
.timer-card {
    background: rgba(15, 12, 10, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 20px;
    min-height: 60px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.timer-main-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.call-stage-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
    margin: 0;
    white-space: nowrap;
}

.timer-label {
    display: none;
}

.timer-display {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    color: #ffffff;
    margin: 0;
}

.timer-display.pulse {
    color: var(--gold-light);
}

.timer-waiting-text {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gold-light, #F3E5AB);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    animation: pulseSuave 2.2s infinite ease-in-out;
}

@keyframes pulseSuave {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.98);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    }
}

.timer-subtext {
    display: none;
}

/* Card do Formulário */
.form-card {
    background: rgba(15, 12, 10, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 14px 14px;
    backdrop-filter: blur(12px);
}

#presencaForm {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.form-group label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--gold-light);
}

.form-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 8px 10px;
    color: rgba(0, 0, 0, 0.9);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
    color: #888888;
    opacity: 1;
}

.form-input:focus {
    border-color: var(--gold-main);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}

.input-legendario {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-align: center;
    padding: 6px 10px;
}

/* Indicador Discreto de Geolocalização */
.geo-status-text {
    font-size: 0.72rem;
    text-align: center;
    color: var(--text-muted);
    padding: 1px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.geo-status-text.success {
    color: #81c784;
}

.geo-status-text.warning {
    color: #ffb74d;
}

/* Linha Palavra-Chave e Botão lado a lado */
.submit-inline-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-top: 3px;
}

.submit-inline-row .flex-input {
    flex: 1.1;
}

/* Botão Registrar Presença (Design Refinado) */
.btn-submit {
    width: 100%;
    height: 38px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    border: none;
    border-radius: 6px;
    color: #000000;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

.btn-submit-inline {
    flex: 0.9;
    white-space: nowrap;
    padding: 0 12px;
}

.btn-submit:hover {
    opacity: 0.95;
}

.btn-submit:active {
    transform: scale(0.99);
}

.btn-submit:disabled {
    background: #28282c;
    color: #666666;
    cursor: not-allowed;
    opacity: 1;
}

/* Spinner de Carregamento */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0,0,0,0.2);
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Customização dos Modais SweetAlert2 */
.swal2-container {
    z-index: 100000 !important;
}

.swal2-popup.swal-gold-theme {
    background: #1a1a1e !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 12px !important;
    color: var(--text-main) !important;
}

.swal2-title.swal-gold-title {
    color: var(--gold-light) !important;
    font-family: var(--font-body) !important;
    font-size: 1.15rem !important;
}

.swal2-confirm.swal-gold-confirm {
    background: var(--gold-main) !important;
    color: #000 !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    padding: 8px 20px !important;
}

/* Card de Evento Inativo */
.inactive-card {
    background: rgba(15, 12, 10, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    backdrop-filter: blur(12px);
}

.inactive-icon {
    font-size: 2.4rem;
    color: var(--gold-main);
    margin-bottom: 14px;
    opacity: 0.7;
}

.inactive-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 10px;
}

.inactive-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
}

/* Rodapé */
.app-footer {
    text-align: center;
    padding: 20px 0 8px 0;
}

.footer-logo {
    width: 100px;
    height: auto;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* Botão Refresh */
.btn-refresh {
    position: fixed;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.2rem;
    opacity: 0.5;
    cursor: pointer;
    z-index: 100;
    padding: 8px;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.btn-refresh:active {
    transform: rotate(360deg);
    opacity: 1;
}

/* ==========================================================================
   Bloco de Atenção - Confirmação de Atestados & Carta do Pastor
   ========================================================================== */
.attention-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    padding: 9px 10px;
    margin: 2px 0;
}

.attention-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.attention-icon {
    color: #D4AF37;
    font-size: 0.95rem;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

.attention-title {
    font-family: var(--font-poppins);
    font-size: 0.82rem;
    font-weight: 700;
    color: #D4AF37;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Caixa de Pergunta */
.doc-question-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 7px 10px;
    margin-bottom: 6px;
}

.doc-question-card:last-child {
    margin-bottom: 0;
}

.doc-question-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    color: #f0ebe1;
    margin-bottom: 6px;
    line-height: 1.25;
    text-align: center;
}

/* Grupo de Botões Sim / Não */
.doc-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.doc-radio-label {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.doc-radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.doc-radio-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #c0b8ac;
    transition: all 0.2s ease;
}

.doc-radio-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

/* Selecionado SIM */
.doc-radio-label input[type="radio"]:checked + .btn-sim {
    background: rgba(46, 125, 50, 0.5);
    border-color: #4caf50;
    color: #ffffff;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
    font-weight: 800;
}

/* Selecionado NÃO */
.doc-radio-label input[type="radio"]:checked + .btn-nao {
    background: rgba(198, 40, 40, 0.5);
    border-color: #ef5350;
    color: #ffffff;
    box-shadow: 0 0 8px rgba(239, 83, 80, 0.5);
    font-weight: 800;
}

/* ==========================================================================
   Card e Botões de Envio de Documentos (Abaixo dos Horários)
   ========================================================================== */
.docs-action-card {
    background: rgba(15, 12, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.docs-action-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.docs-action-card-icon {
    font-size: 0.85rem;
    color: #ef4444;
}

.docs-action-card-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.doc-upload-actions-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.btn-doc-upload {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: #991b1b;
    padding: 10px 8px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-doc-upload i {
    font-size: 0.9rem;
    color: #991b1b;
    transition: transform 0.2s ease;
}

.btn-doc-upload:hover {
    background: #f8fafc;
    color: #7f1d1d;
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25), 0 2px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.btn-doc-upload:hover i {
    color: #7f1d1d;
    transform: scale(1.15) translateY(-1px);
}

.btn-doc-upload:active {
    transform: translateY(1px);
    background: #f1f5f9;
}

/* ==========================================================================
   Modal / Popup de Upload Mobile-First
   ========================================================================== */
.doc-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
    animation: fadeInModal 0.25s ease-out;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.doc-modal-dialog {
    background: #181512;
    background-image: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    width: 100%;
    max-width: 440px;
    padding: 20px 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.15);
    color: #f0ebe1;
    position: relative;
    max-height: 94vh;
    overflow-y: auto;
    animation: slideUpModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpModal {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.doc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.doc-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-modal-icon {
    font-size: 1.15rem;
    color: var(--gold-main);
}

.doc-modal-title {
    font-family: var(--font-poppins);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.doc-modal-close {
    background: transparent;
    border: none;
    color: #a8a095;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.doc-modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.doc-modal-instruction {
    font-size: 0.8rem;
    color: #bfb6a8;
    margin-bottom: 14px;
    line-height: 1.35;
}

.doc-modal-instruction b {
    color: #f3e5ab;
}

.modal-form-group {
    margin-bottom: 12px;
}

.modal-form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Área de Dropzone de Arquivo */
.file-dropzone {
    position: relative;
    border: 2px dashed rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.file-dropzone:hover, .file-dropzone.dragover {
    border-color: var(--gold-main);
    background: rgba(212, 175, 55, 0.08);
}

.file-input-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.dropzone-icon {
    font-size: 1.8rem;
    color: var(--gold-main);
}

.dropzone-text b {
    display: block;
    font-size: 0.82rem;
    color: #ffffff;
    font-weight: 600;
}

.dropzone-text span {
    display: block;
    font-size: 0.7rem;
    color: #a0988c;
    margin-top: 2px;
}

/* Preview do Arquivo Selecionado */
.dropzone-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 6px 10px;
    position: relative;
    z-index: 3;
}

.preview-thumb-wrap {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    background: #25201a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.preview-pdf-icon {
    font-size: 1.6rem;
    color: #ef5350;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-info {
    flex: 1;
    text-align: left;
    min-width: 0;
}

.preview-name {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-size {
    display: block;
    font-size: 0.68rem;
    color: #a8a095;
    margin-top: 2px;
}

.btn-remove-file {
    background: rgba(239, 83, 80, 0.15);
    border: 1px solid rgba(239, 83, 80, 0.4);
    color: #ef5350;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: all 0.2s;
}

.btn-remove-file:hover {
    background: #ef5350;
    color: #ffffff;
}

/* Botões de Ação do Modal */
.modal-actions-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    margin-top: 18px;
}

.btn-modal-cancel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #d0c8be;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.btn-modal-submit {
    background: linear-gradient(135deg, #e5be01 0%, #b8860b 100%);
    border: none;
    color: #000000;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.2s ease;
}

.btn-modal-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
    transform: translateY(-1px);
}

.btn-modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}



