/* --- Variáveis de Cores (Paleta Azul Serenity, Cinza e Branco) --- */
:root {
    --primary-color: #9bbccb; /* Azul Serenity principal */
    --secondary-color: #3d5a80; /* Azul escuro para detalhes e texto */
    --accent-color: #e0b1cb; /* Rosa seco suave para ênfase (corações, pequenos detalhes) */
    --background-light: #f0f4f8; /* Cinza azulado claro para fundos secundários */
    --background-white: #ffffff; /* Branco puro para fundos principais */
    --text-dark: #333333; /* Texto principal escuro */
    --text-light: #666666; /* Texto secundário leve */
    --border-color: #e0e0e0; /* Cor de borda suave */
    --shadow-color: rgba(0, 0, 0, 0.08); /* Sombra mais sutil */
}
/* Adicione no final do seu arquivo css/style.css */

.guest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guest-actions .delete-btn {
    background-color: #e74c3c; /* Vermelho */
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.2s;
}

.guest-actions .delete-btn:hover {
    background-color: #c0392b; /* Vermelho mais escuro */
}
/* --- Estilos para a Logotipo Circular --- */
.gifts-choice-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9; /* Um fundo suave para diferenciar da próxima seção */
}

.gifts-choice-section h2 {
    font-size: 2.5em;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    color: #666;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px; /* Espaço entre os cards */
    flex-wrap: wrap; /* Permite que os cards quebrem a linha em telas menores */
}

.gift-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    text-align: center;
    flex-basis: 45%; /* Cada card ocupa cerca de 45% do espaço */
    max-width: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gift-card:hover {
    transform: translateY(-10px); /* Efeito de levantar o card ao passar o mouse */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 50px;
    color: #c5a47e; /* Um tom de dourado/bronze elegante */
    margin-bottom: 20px;
}

.gift-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
}

.gift-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.gift-card .btn {
    display: inline-block;
}

/* --- Responsividade para Celulares --- */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column; /* Coloca os cards um embaixo do outro */
        align-items: center;
    }

    .gift-card {
        flex-basis: 100%; /* O card ocupa a largura total */
        width: 100%;
        max-width: 450px; /* Limita a largura máxima em telas um pouco maiores */
    }
}
/* Garante que o conteúdo do header (logo e texto) fique alinhado e centralizado */
.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column; /* Organiza os itens em coluna (um embaixo do outro) */
    align-items: center;   /* Centraliza os itens horizontalmente */
}
.gifts-choice-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9; /* Um fundo suave para diferenciar da próxima seção */
}

.gifts-choice-section h2 {
    font-size: 2.5em;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    color: #666;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px; /* Espaço entre os cards */
    flex-wrap: wrap; /* Permite que os cards quebrem a linha em telas menores */
}

.gift-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    text-align: center;
    flex-basis: 45%; /* Cada card ocupa cerca de 45% do espaço */
    max-width: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gift-card:hover {
    transform: translateY(-10px); /* Efeito de levantar o card ao passar o mouse */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 50px;
    color: #c5a47e; /* Um tom de dourado/bronze elegante */
    margin-bottom: 20px;
}

.gift-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
}
/* =================================================================== */
/* === AJUSTES DE ALTO NÍVEL PARA DISPOSITIVOS MÓVEIS (CELULAR) === */
/* =================================================================== */

@media (max-width: 768px) {

    /* --- 1. AJUSTES NO HEADER DA PÁGINA DE PRESENTES --- */
    .page-header-presentes {
        padding: 50px 15px 35px; /* Reduz o espaçamento vertical e lateral */
    }

    .page-header-presentes h1 {
        font-size: 2.4em; /* Diminui o título principal drasticamente */
        line-height: 1.2;
    }

    .page-header-presentes p {
        font-size: 1em; /* Ajusta o parágrafo */
    }

    /* Reduz o tamanho da logo para não dominar a tela */
    .page-header-presentes .logo {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }


    /* --- 2. AJUSTES NAS SEÇÕES (PIX E TÍTULOS) --- */
    .pix-section,
    .gift-list-header {
        padding: 40px 15px; /* Reduz o espaçamento das seções */
    }

    .pix-section h2,
    .gift-list-header h2 {
        font-size: 1.9em; /* Diminui os títulos das seções */
    }

/* =================================================================== */
/* === ESTILO DO BLOCO DE ENDEREÇO PARA ENTREGA === */
/* =================================================================== */

.delivery-address {
    max-width: 830px; /* Largura similar aos dois cards juntos */
    margin: 50px auto 0 auto; /* Espaço acima e centraliza */
    text-align: left;
}

.delivery-address h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px; /* Espaço entre o ícone e o texto */
}

.address-box {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary-color); /* Detalhe lateral na cor primária */
    border-radius: 8px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.address-box p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 1.05em;
}

/* Estilo para o botão 'outline' (se ainda não existir) */
.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    white-space: nowrap; /* Impede que o texto do botão quebre */
    flex-shrink: 0; /* Impede que o botão encolha */
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--background-white);
}

/* Ajustes para o bloco de endereço no celular */
@media (max-width: 768px) {
    .delivery-address {
        text-align: center; /* Centraliza o título no mobile */
    }
    .delivery-address h4 {
        justify-content: center;
    }

    .address-box {
        flex-direction: column; /* Coloca o texto em cima e o botão embaixo */
        text-align: center;
        padding: 20px;
    }
    .address-box .btn {
        width: 100%; /* Botão ocupa a largura total */
    }
}
    /* --- 3. REFINAMENTO COMPLETO DOS CARDS DE PRESENTE --- */

    /* Adiciona um espaçamento lateral para a lista não colar nas bordas do celular */
    .gift-list {
        padding: 0 15px;
        display: grid;
        grid-template-columns: 1fr; /* Garante uma única coluna */
        gap: 25px; /* Espaço consistente entre os cards */
    }
    
    .gift-card {
        display: flex;
        flex-direction: column; /* Organiza o conteúdo do card internamente */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Sombra mais sutil */
        border-radius: 8px; /* Bordas levemente arredondadas */
        overflow: hidden; /* Garante que a imagem não vaze das bordas arredondadas */
        position: relative; /* Necessário para o efeito de 'esgotado' */
    }

    .gift-card img {
        width: 100%;
        height: 220px; /* ALTURA FIXA para todas as imagens */
        object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
        display: block;
    }

    /* Cria um container para o conteúdo de texto do card */
    .gift-card-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex-grow: 1; /* Faz esta área crescer para preencher o espaço */
    }

    .gift-card h3 {
        font-size: 1.25em;
        margin: 0 0 10px 0; /* Espaçamento ajustado */
    }

    .gift-card .price {
        font-size: 1.15em;
        font-weight: 700;
        color: #333;
        margin-bottom: 15px;
    }

    .gift-card .disponibilidade {
        margin-bottom: 20px;
        font-style: italic;
        color: #555;
    }

    /* Faz o botão ocupar o espaço final do card, criando alinhamento */
    .gift-card .btn {
        margin-top: auto; /* Empurra o botão para a base do card */
        width: 100%;
        padding: 12px;
        font-size: 1em;
    }

    /* --- 4. NOVO VISUAL PARA O CARD ESGOTADO --- */
    
    /* Overlay semi-transparente sobre o card esgotado */
    .gift-card.esgotado::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.7); /* Fundo branco semi-transparente */
        z-index: 1;
    }
    /* =================================================================== */
/* === HEADER CINEMATOGRÁFICO COM ANIMAÇÕES (ALTO NÍVEL) === */
/* =================================================================== */

/* --- 1. ESTRUTURA PRINCIPAL DO HERO E FUNDO --- */
.hero {
    position: relative; /* Essencial para posicionar os elementos internos */
    height: 100vh; /* Ocupa a altura total da tela */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Esconde o que sair dos limites (partículas e zoom) */
    background-color: #333; /* Cor de fundo caso a imagem não carregue */
    color: #fff;
    text-align: center;
}

/* Pseudo-elemento para a imagem de fundo, permitindo o efeito Ken Burns */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/background-casamento.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1; /* Fica atrás de tudo */

    /* Aplica a animação de zoom */
    animation: kenBurns 25s infinite;
}

/* Overlay gradiente para escurecer o fundo e destacar o texto */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 0;
}

.hero-content {
    position: relative; /* Garante que o conteúdo fique acima do overlay */
    z-index: 2;
    padding: 20px;
}


/* --- 2. ANIMAÇÃO DE ZOOM SUAVE NO FUNDO (KEN BURNS) --- */
@keyframes kenBurns {
    0% {
        transform: scale(1.05); /* Começa com um leve zoom */
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15); /* Atinge o zoom máximo na metade do tempo */
        opacity: 1;
    }
    100% {
        transform: scale(1.05); /* Volta ao zoom inicial */
        opacity: 0.8;
    }
}


/* --- 3. ANIMAÇÃO DE ENTRADA DO CONTEÚDO (FADE IN) --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prepara os elementos para a animação (começam invisíveis) */
.hero .logo,
.hero h1,
.hero p {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

/* Staggering (atraso) para cada elemento aparecer em sequência */
.hero .logo { animation-delay: 0.5s; }
.hero h1 { animation-delay: 0.8s; }
.hero p { animation-delay: 1.1s; }
.hero .date { animation-delay: 1.4s; }

/* Detalhes de estilo para o texto */
.hero h1 { text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero p { text-shadow: 0 1px 5px rgba(0,0,0,0.5); }


/* --- 4. ANIMAÇÃO DAS PARTÍCULAS FLUTUANTES --- */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    bottom: -20px; /* Começa fora da tela, embaixo */
    background-color: rgba(255, 255, 255, 0.15); /* Cor das partículas */
    border-radius: 50%;
    animation: floatUp 20s infinite linear;
}

@keyframes floatUp {
    to {
        transform: translateY(-105vh); /* Sobe até desaparecer acima da tela */
        opacity: 0;
    }
}

/* Variação de tamanho, posição e velocidade para cada partícula */
.particle:nth-child(1) { left: 10%; width: 20px; height: 20px; animation-duration: 15s; animation-delay: 1s; }
.particle:nth-child(2) { left: 20%; width: 50px; height: 50px; animation-duration: 22s; animation-delay: 0s; }
.particle:nth-child(3) { left: 35%; width: 10px; height: 10px; animation-duration: 25s; animation-delay: 5s; }
.particle:nth-child(4) { left: 50%; width: 80px; height: 80px; animation-duration: 18s; animation-delay: 2s; }
.particle:nth-child(5) { left: 65%; width: 30px; height: 30px; animation-duration: 16s; animation-delay: 8s; }
.particle:nth-child(6) { left: 80%; width: 45px; height: 45px; animation-duration: 24s; animation-delay: 3s; }
.particle:nth-child(7) { left: 90%; width: 15px; height: 15px; animation-duration: 20s; animation-delay: 10s; }
.particle:nth-child(8) { left: 5%;  width: 25px; height: 25px; animation-duration: 19s; animation-delay: 6s; }
.particle:nth-child(9) { left: 85%; width: 55px; height: 55px; animation-duration: 21s; animation-delay: 4s; }
.particle:nth-child(10){ left: 40%; width: 12px; height: 12px; animation-duration: 23s; animation-delay: 12s; }

/* Garante que a seção não cole na divisória e tenha um respiro visual */
.hero-presentes + .gifts-choice-section {
    padding-top: 80px; /* Aumenta o espaço no topo */
    padding-bottom: 80px;
    background-color: #FFFFFF; /* Garante o fundo branco para encontrar a onda */
}

/* Remove qualquer título ou subtítulo que possa existir nesta versão da seção */
.hero-presentes + .gifts-choice-section h2,
.hero-presentes + .gifts-choice-section .section-subtitle {
    display: none;
}

/* Ajuste para celular */
@media (max-width: 768px) {
    .hero-presentes + .gifts-choice-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}
/* --- 5. SETA ANIMADA PARA ROLAGEM --- */
.scroll-down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    font-size: 2em;
    opacity: 0;
    animation: bounce 2s infinite ease-out, fadeInUp 1s ease-out 2s forwards;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}
    /* Centraliza o texto de 'Esgotado' sobre o overlay */
    .gift-card.esgotado .esgotado-info {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        text-align: center;
        width: 100%;
        padding: 20px;
        background-color: rgba(0, 0, 0, 0.6); /* Fundo escuro para o texto */
        color: #fff;
    }
    
    .gift-card.esgotado .esgotado-info p {
        margin: 0;
        line-height: 1.4;
    }

    .gift-card.esgotado .esgotado-info strong {
        font-size: 1.5em;
        display: block;
        margin-bottom: 5px;
    }
    
    .gift-card.esgotado .esgotado-info .presenteadores {
        font-size: 0.9em;
        opacity: 0.9;
    }

}

.gift-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.gift-card .btn {
    display: inline-block;
}

/* --- Responsividade para Celulares --- */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column; /* Coloca os cards um embaixo do outro */
        align-items: center;
    }

    .gift-card {
        flex-basis: 100%; /* O card ocupa a largura total */
        width: 100%;
        max-width: 450px; /* Limita a largura máxima em telas um pouco maiores */
    }
}
/* ================================================================= */
/* === CÓDIGO PARA DEIXAR OS CARDS LADO A LADO NO CELULAR === */
/* ================================================================= */

@media (max-width: 768px) {

    /* 1. O CONTAINER DOS CARDS */
    .cards-container {
        display: flex;
        flex-direction: row;   /* <-- A MUDANÇA PRINCIPAL: Alinha em linha */
        flex-wrap: nowrap;     /* Garante que não quebrem a linha */
        gap: 15px;             /* Define um espaço entre eles */
    }

    /* 2. OS CARDS EM SI */
    .cards-container .gift-card {
        flex-basis: 50%;       /* Cada card ocupa 50% da largura */
        padding: 25px 15px;    /* Espaçamento interno mais compacto */
        
        /* Ajustes finos para o conteúdo caber bem */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* 3. CONTEÚDO DENTRO DOS CARDS (para ficar "bem ajustadinho") */
    .cards-container .gift-card .card-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    .cards-container .gift-card h3 {
        font-size: 1.1em; /* Título um pouco menor */
        margin-bottom: 8px;
    }
    .cards-container .gift-card p {
        font-size: 0.85em; /* Texto menor */
        line-height: 1.4;
        text-align: center;
        margin-bottom: 15px;
        flex-grow: 1; /* Alinha os botões na base */
    }
    .cards-container .gift-card .btn {
        width: 100%;
        padding: 10px 5px;
        font-size: 0.9em;
    }
}
/* Estiliza a imagem da logo */
.logo {
    width: 150px;                  /* Largura da logo (ajuste conforme necessário) */
    height: 150px;                 /* Altura da logo (deve ser igual à largura) */
    border-radius: 50%;            /* ESSENCIAL: Isso deixa a imagem redonda */
    object-fit: cover;             /* Garante que a imagem preencha o círculo sem distorcer */
    margin-bottom: 20px;           /* Cria um espaço entre a logo e o texto "Lys & Ugo" */
    
    /* (Opcional) Adiciona uma pequena borda branca e uma sombra suave para destacar */
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
/* --- Estilos para RSVP e Check-in --- */
/* --- Estilos para o Horário do Check-in --- */
.checkin-time {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--secondary-color);
    font-family: monospace; /* Deixa os números mais alinhados */
    background-color: var(--background-light);
    padding: 5px 10px;
    border-radius: 5px;
}
/* Formulário de Confirmação */
.rsvp-form form {
    max-width: 500px;
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.rsvp-form label {
    font-weight: bold;
    text-align: left;
}
.rsvp-form input {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rsvp-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(155, 188, 203, 0.3);
}

/* Página de Sucesso (Convite Digital) */
.confirmation-details {
    text-align: center;
}
.ticket {
    max-width: 350px;
    margin: 30px auto;
    padding: 20px;
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
    background-color: var(--background-light);
}
.ticket img {
    max-width: 100%;
    border-radius: 5px;
}
.ticket-code {
    margin-top: 15px;
    font-size: 1.2rem;
    background-color: var(--background-white);
    padding: 10px;
    border-radius: 5px;
}

/* Página de Check-in */
.checkin-container {
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
#qr-reader {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.status-icon {
    font-size: 2.5rem;
    line-height: 1;
}
/* --- Configurações Globais e Fontes --- */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light); /* Fundo geral mais claro */
    scroll-behavior: smooth; /* Rolagem suave */
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color); /* Títulos em azul mais escuro */
}

.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* --- Animações Básicas --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Header / Hero Section (index.html) --- */
.hero {
    background: url('../img/background.jpg') no-repeat center center/cover; /* Mantenha sua imagem de fundo */
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--background-white); /* Texto branco para contraste */
    position: relative;
    overflow: hidden; /* Garante que elementos filhos não transbordem */
}
.hero::before { /* Camada escura sobre a imagem */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}
.hero-content {
    z-index: 1;
    animation: fadeIn 1.5s ease-out; /* Animação para o conteúdo do hero */
}
.hero h1 {
    font-size: 5rem;
    margin: 0;
    color: inherit; /* Usa a cor do pai (branco) */
}
.hero p {
    font-size: 1.5rem;
    margin-top: 10px;
}
.hero .date {
    font-weight: bold;
    font-style: italic;
    color: var(--primary-color); /* Data em azul serenity */
}

/* --- Page Header (presentes.php e admin.php) --- */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); /* Gradiente com as cores da paleta */
    color: var(--background-white);
    text-align: center;
    padding: 60px 20px;
    box-shadow: 0 4px 10px var(--shadow-color);
}
.page-header h1 {
    font-size: 3rem;
    margin: 0;
    color: inherit; /* Herda o branco */
}
.page-header p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* --- Seções da Página Principal --- */
main section {
    text-align: center;
    margin-bottom: 60px;
    padding: 20px;
    background-color: var(--background-white);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-color);
    animation: slideInUp 0.8s ease-out forwards; /* Animação para seções */
    opacity: 0; /* Começa invisível para a animação */
}
main section:nth-child(1) { animation-delay: 0.2s; } /* Atraso para cada seção */
main section:nth-child(2) { animation-delay: 0.4s; }
main section:nth-child(3) { animation-delay: 0.6s; }


.detail-card {
    background-color: var(--background-light); /* Fundo mais suave para card de detalhes */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-color); /* Detalhe lateral em azul serenity */
    transition: transform 0.3s ease;
}
.detail-card:hover {
    transform: translateY(-5px); /* Efeito sutil ao passar o mouse */
}
.detail-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}
.detail-card p {
    margin: 5px 0;
    color: var(--text-light);
}
.detail-card strong {
    color: var(--secondary-color);
}

/* --- Botão Padrão --- */
.btn {
    display: inline-block;
    background-color: var(--primary-color); /* Botão em azul serenity */
    color: var(--background-white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px; /* Borda mais arredondada */
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.btn:hover {
    background-color: var(--secondary-color); /* Fica azul escuro ao passar o mouse */
    transform: translateY(-2px); /* Efeito "flutuante" */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* --- Lista de Presentes --- */
.gift-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.gift-card {
    background: var(--background-white);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-color);
    text-align: center;
    padding-bottom: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInUp 0.6s ease-out forwards; /* Animação para cards */
    opacity: 0;
}
.gift-card:nth-child(2n) { animation-delay: 0.1s; }
.gift-card:nth-child(3n) { animation-delay: 0.2s; }
.gift-card:nth-child(4n) { animation-delay: 0.3s; } /* Atrasos variados */

.gift-card:hover {
    transform: translateY(-8px); /* Efeito mais pronunciado */
    box-shadow: 0 8px 20px var(--shadow-color);
}
.gift-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}
.gift-card h3 {
    margin: 15px 0 5px 0;
    color: var(--secondary-color);
}
.gift-card .price {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0 0 15px 0;
}
.gift-card.esgotado {
    opacity: 0.7;
    background-color: var(--background-light);
    cursor: not-allowed;
    transform: none; /* Remove efeito hover de esgotado */
    box-shadow: none;
}
.esgotado-info {
    background-color: var(--border-color);
    padding: 10px;
    margin-top: auto; /* Empurra para o final do card */
    color: var(--text-light);
    border-top: 1px dashed var(--text-light);
}
.esgotado-info p {
    margin: 0;
    font-size: 0.9rem;
}
.esgotado-info strong {
    color: var(--secondary-color);
}
.esgotado-info .presenteadores {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 5px;
    font-style: italic;
}


/* --- Quantidade de Presentes --- */
.disponibilidade {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}
.disponibilidade span {
    background-color: var(--background-light);
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7); /* Fundo mais escuro para o modal */
    animation: fadeIn 0.3s ease-out;
}
.modal-content {
    background-color: var(--background-white);
    margin: 10% auto; /* Ajuste para centralizar um pouco mais alto */
    padding: 30px;
    border: none; /* Remove borda, usa sombra */
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    animation: slideInUp 0.4s ease-out;
}
.close {
    color: var(--text-light);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 32px; /* Ícone maior */
    font-weight: normal;
    cursor: pointer;
    transition: color 0.2s ease;
}
.close:hover {
    color: var(--secondary-color);
}
.modal-content h2 {
    color: var(--secondary-color);
    margin-top: 0;
}
.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
}
.modal-content form {
    display: flex;
    flex-direction: column;
}
.modal-content label {
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-dark);
}
.modal-content input, .modal-content textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.modal-content input:focus, .modal-content textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(155, 188, 203, 0.2); /* Sombra suave no foco */
    outline: none;
}
.modal-content button {
    margin-top: 25px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px;
    background-color: var(--secondary-color); /* Fundo do footer em azul escuro */
    color: var(--background-white);
    margin-top: 40px;
    font-size: 0.9rem;
    box-shadow: 0 -4px 10px var(--shadow-color);
}
footer p {
    margin: 0;
}
footer p strong {
    color: var(--primary-color);
}
footer .heart {
    color: var(--accent-color); /* Coração com a cor de ênfase */
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* --- Estilos para o Painel Administrativo --- */

/* Página de Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}
.login-box {
    background: var(--background-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-align: center;
    width: 90%;
    max-width: 400px;
    animation: fadeIn 0.8s ease-out;
}
.login-box h2 {
    margin-top: 0;
    color: var(--secondary-color);
}
.login-box p {
    color: var(--text-light);
}
.login-box form {
    display: flex;
    flex-direction: column;
}
.login-box label {
    text-align: left;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-dark);
}
.login-box input {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.login-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(155, 188, 203, 0.2);
    outline: none;
}
.login-box .btn {
    margin-top: 20px;
    width: 100%;
}
.error-message {
    color: #d9534f; /* Vermelho para erro */
    background-color: #fcebeb; /* Fundo suave para erro */
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: bold;
}

/* Tabela do Painel Admin */
.admin-table-container {
    overflow-x: auto;
    background-color: var(--background-white); /* Fundo branco para a tabela */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-color);
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0; /* Removido margin-top e bottom, já tem no container */
    font-size: 1rem;
}
.admin-table thead tr {
    background-color: var(--secondary-color); /* Cabeçalho da tabela em azul escuro */
    color: var(--background-white);
    text-align: left;
}
.admin-table th, .admin-table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color); /* Borda suave para células */
}
.admin-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}
.admin-table tbody tr:nth-of-type(even) {
    background-color: var(--background-light); /* Linhas pares em cinza suave */
}
.admin-table tbody tr:hover {
    background-color: #e6edf4; /* Efeito hover mais suave */
}

/* Responsividade da Tabela */
@media screen and (max-width: 768px) {
    .admin-table thead {
        display: none;
    }
    .admin-table, .admin-table tbody, .admin-table tr, .admin-table td {
        display: block;
        width: 100%;
    }
    .admin-table tr {
        margin-bottom: 15px;
        background-color: var(--background-white);
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        border-radius: 8px;
        overflow: hidden;
    }
    .admin-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border: none; /* Remove bordas internas para mobile */
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .admin-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: calc(50% - 20px);
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: var(--secondary-color);
    }
    .admin-table tbody tr:hover {
        background-color: var(--background-white); /* Remove hover em mobile para não conflitar com sombra */
    }
}

/* --- Estilos para a Seção PIX --- */
.pix-section {
    background-color: var(--background-light); /* Fundo em cinza azulado claro */
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.pix-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.pix-qrcode {
    text-align: center;
}

.pix-qrcode img {
    max-width: 200px;
    height: auto;
    border: 5px solid var(--background-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-color);
    margin-bottom: 10px;
}

.pix-qrcode p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.pix-details {
    max-width: 400px;
    text-align: center;
}

.pix-details h3 {
    margin-top: 0;
}

.pix-key-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    background-color: var(--background-white);
    border-radius: 30px;
    padding: 5px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.pix-key-wrapper input {
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 10px 15px;
    width: 100%;
    color: var(--secondary-color);
    font-weight: bold;
    outline: none;
}

/* Ajusta o botão de copiar para se encaixar no wrapper */
.pix-key-wrapper .btn {
    flex-shrink: 0; /* Impede que o botão encolha */
    box-shadow: none; /* Remove a sombra do botão para um visual mais limpo */
}

/* Responsividade para a seção PIX */
@media screen and (max-width: 768px) {
    .pix-container {
        flex-direction: column;
    }
    .pix-key-wrapper {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        gap: 10px;
    }
    .pix-key-wrapper input {
        background-color: var(--background-white);
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .pix-key-wrapper .btn {
        width: 100%;
    }
}
/* --- Estilos para o Painel Admin (Novos) --- */

.admin-section {
    margin-bottom: 50px; /* Adiciona um espaço entre as seções de presentes e de convidados */
}

.admin-section h2 {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

/* Badges de Status para Check-in */
.status-sim, .status-nao {
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: bold;
    color: white;
    font-size: 0.9em;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.status-sim {
    background-color: #28a745; /* Verde */
}

.status-nao {
    background-color: #6c757d; /* Cinza */
}

/* --- Estilos para o Check-in Manual --- */
.manual-checkin {
    margin-top: 20px;
    padding: 20px;
    background-color: var(--background-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.manual-checkin p {
    margin: 0 0 15px 0;
    font-weight: bold;
    color: var(--secondary-color);
}
.manual-checkin form {
    display: flex;
    gap: 10px;
}
.manual-checkin input {
    flex-grow: 1; /* Faz o input ocupar o espaço disponível */
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1.2rem;
    text-align: center;
    text-transform: uppercase;
    font-family: monospace;
    letter-spacing: 2px;
}
.manual-checkin input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(155, 188, 203, 0.3);
}
.manual-checkin .btn {
    padding: 0 25px;
    flex-shrink: 0; /* Impede que o botão encolha */
}
/* --- Estilos para Link Secundário e Botão Outline --- */

.link-secundario {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.link-secundario p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color); /* Usa a cor principal do site */
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid var(--primary-color); /* Borda na cor principal */
    cursor: pointer;
    font-size: 1rem;
}

.btn-outline:hover {
    background-color: var(--primary-color); /* Fundo preenche ao passar o mouse */
    color: var(--background-white); /* Texto fica branco */
}
/* --- Estilos para o Link de Próximo Passo (página de sucesso.php) --- */

.next-step-link {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--background-light);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.next-step-link p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0 0 15px 0;
}
/* --- Estilos para o Header da Lista de Presentes --- */

.gift-list-header {
    text-align: center;
    margin-top: 60px; /* Aumenta o espaço depois da seção PIX */
    margin-bottom: 30px;
}

.gift-list-header h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* Linha decorativa embaixo do título */
.gift-list-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}
/* --- Estilos para Responsividade do Check-in Mobile --- */

@media screen and (max-width: 600px) {
    /* Faz o container principal ocupar a tela inteira, como um app */
    .checkin-container {
        width: 100%;
        min-height: 100vh;
        margin: 0;
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        box-sizing: border-box; /* Garante que o padding não aumente o tamanho total */
    }

    .checkin-container h1 {
        font-size: 1.8rem; /* Reduz o título em telas pequenas */
    }

    /* Garante que o leitor de QR code se ajuste bem */
    #qr-reader {
        width: 100%;
        border: none; /* Remove a borda no mobile para um visual mais limpo */
    }

    /* Melhora a visualização do formulário manual */
    .manual-checkin {
        padding: 15px;
    }

    .manual-checkin form {
        flex-direction: column; /* Coloca o botão embaixo do input */
        gap: 15px;
    }
    
    .manual-checkin input, .manual-checkin .btn {
        width: 100%;
        box-sizing: border-box;
    }

    .manual-checkin .btn {
        padding: 15px; /* Deixa o botão mais fácil de tocar */
        font-size: 1.1rem;
    }

    .result-box {
        margin-top: auto; /* Empurra a caixa de resultado para o final */
        padding: 15px;
    }
}

/* --- Estilos para a Nova Estrutura de Check-in --- */

.checkin-header {
    width: 100%;
    padding: 15px;
    background-color: var(--background-light);
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
}

.header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.header-info h1 {
    margin: 0;
    font-size: 1.5rem;
}

.logout-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #d9534f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background-color 0.2s;
}
.logout-btn:hover {
    background-color: #c9302c;
}

.checkin-stats {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 15px;
    background-color: var(--background-white);
    padding: 10px;
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}
.stat-item span {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1;
}
.stat-item label {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
}

.stat-divider {
    font-size: 2rem;
    color: var(--border-color);
}

.scanner-area {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* Ajuste no mobile para o checkin-header */
@media screen and (max-width: 600px) {
    .checkin-header {
        padding: 10px;
    }
    .header-info h1 {
        font-size: 1.2rem;
    }
    .scanner-area {
        padding: 15px;
    }
}

/* --- Estilos Globais Básicos (necessários para as páginas funcionarem) --- */
:root {
    --primary-color: #9bbccb; --secondary-color: #3d5a80; --accent-color: #e0b1cb; --background-light: #f0f4f8; --background-white: #ffffff; --text-dark: #333333; --text-light: #666666; --border-color: #e0e0e0; --shadow-color: rgba(0, 0, 0, 0.08);
}
body { font-family: 'Roboto', sans-serif; margin: 0; color: var(--text-dark); background-color: var(--background-light); }
.container { max-width: 1100px; margin: 40px auto; padding: 0 20px; }
h1, h2, h3 { font-family: 'Playfair Display', serif; color: var(--secondary-color); }
.page-header { background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); color: var(--background-white); text-align: center; padding: 60px 20px; }
.page-header h1 { font-size: 3rem; margin: 0; color: inherit; }
.page-header p { font-size: 1.2rem; margin-top: 10px; }
.btn { display: inline-block; background-color: var(--primary-color); color: var(--background-white); padding: 12px 25px; text-decoration: none; border-radius: 30px; font-weight: bold; transition: all 0.3s ease; border: none; cursor: pointer; font-size: 1.1rem; }
.btn:hover { background-color: var(--secondary-color); transform: translateY(-2px); }
footer { text-align: center; padding: 30px; background-color: var(--secondary-color); color: var(--background-white); margin-top: 40px; }
.heart { color: var(--accent-color); animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* --- Formulário de Confirmação (RSVP) --- */
.rsvp-form { text-align: center; background-color: var(--background-white); padding: 30px; border-radius: 10px; box-shadow: 0 4px 15px var(--shadow-color); }
.rsvp-form form { max-width: 500px; margin: 30px auto 0 auto; display: flex; flex-direction: column; gap: 15px; }
.rsvp-form label { font-weight: bold; text-align: left; }
.rsvp-form input[type="text"], .rsvp-form input[type="tel"] { padding: 15px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 1.1rem; }
.radio-group { display: flex; justify-content: center; gap: 20px; margin-top: 10px; }
.radio-label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.radio-label input[type="radio"] { accent-color: var(--secondary-color); }
.link-secundario { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.btn-outline { display: inline-block; background-color: transparent; color: var(--primary-color); padding: 12px 25px; text-decoration: none; border-radius: 30px; font-weight: bold; transition: all 0.3s ease; border: 2px solid var(--primary-color); cursor: pointer; font-size: 1rem; }
.btn-outline:hover { background-color: var(--primary-color); color: var(--background-white); }

/* --- Página de Sucesso e Agradecimento --- */
.confirmation-details, .thank-you-message { text-align: center; }
.ticket { max-width: 350px; margin: 30px auto; padding: 20px; border: 2px dashed var(--primary-color); border-radius: 10px; background-color: var(--background-light); }
.ticket img { max-width: 100%; }
.ticket-code { margin-top: 15px; font-size: 1.2rem; background-color: var(--background-white); padding: 10px; border-radius: 5px; }
.next-step-link { margin-top: 40px; padding: 30px; background-color: var(--background-light); border-radius: 10px; }

/* --- Páginas de Login --- */
.login-container { display: flex; justify-content: center; align-items: center; height: 100vh; background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); }
.login-box { background: var(--background-white); padding: 40px; border-radius: 10px; text-align: center; width: 90%; max-width: 400px; }
.login-box form { display: flex; flex-direction: column; }

/* --- Painel de Check-in --- */
.checkin-container { width: 100%; max-width: 800px; margin: 0 auto; background: var(--background-white); display: flex; flex-direction: column; height: 100vh; }
.checkin-header { padding: 15px; background-color: var(--background-light); border-bottom: 1px solid var(--border-color); }
.header-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.header-info h1 { margin: 0; font-size: 1.5rem; }
.logout-btn { padding: 8px 15px; background-color: #d9534f; color: white; text-decoration: none; border-radius: 5px; font-size: 0.9rem; font-weight: bold; }
.checkin-stats { display: flex; justify-content: center; align-items: baseline; gap: 15px; background-color: var(--background-white); padding: 10px; border-radius: 8px; }
.stat-item { text-align: center; }
.stat-item span { font-size: 2rem; font-weight: bold; color: var(--secondary-color); }
.stat-item label { font-size: 0.8rem; color: var(--text-light); }
.stat-divider { font-size: 2rem; color: var(--border-color); }
.tabs-nav { display: flex; background-color: var(--background-light); }
.tab-link { flex: 1; padding: 15px; background: none; border: none; font-size: 1rem; font-weight: bold; color: var(--text-light); cursor: pointer; border-bottom: 3px solid transparent; }
.tab-link.active { color: var(--secondary-color); border-bottom-color: var(--secondary-color); }
.checkin-container main { flex-grow: 1; overflow-y: auto; padding: 20px; }
.tab-content { display: none; }
.tab-content.active { display: block; }
#qr-reader { width: 100%; }
.manual-checkin { margin-top: 20px; }
.manual-checkin form { display: flex; gap: 10px; }
.manual-checkin input { flex-grow: 1; padding: 12px; border-radius: 5px; border: 1px solid var(--border-color); }
.result-box { margin-top: 20px; padding: 20px; border-radius: 8px; font-size: 1.2rem; font-weight: bold; transition: all 0.3s ease; border: 2px solid; }
.result-box.verifying { background-color: #eef2f7; border-color: #a0b4c9; color: #3d5a80; }
.result-box.success { background-color: #d4edda; border-color: #c3e6cb; color: #155724; }
.result-box.error { background-color: #f8d7da; border-color: #f5c6cb; color: #721c24; }
.status-icon { font-size: 2.5rem; }
.search-bar { width: 100%; padding: 12px; font-size: 1rem; border-radius: 5px; border: 1px solid var(--border-color); margin-bottom: 15px; box-sizing: border-box; }
.guest-list { list-style: none; padding: 0; margin: 0; }
.guest-list-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; border-bottom: 1px solid var(--border-color); }
.guest-list-item:last-child { border-bottom: none; }
.guest-info strong { display: block; }
.guest-info small { color: var(--text-light); }
.status-icon-list { font-size: 1.2rem; }
.status-icon-list.checked { color: #28a745; }
.status-icon-list.pending { color: #f5c6cb; }
.guest-list-item-empty { text-align: center; padding: 20px; color: var(--text-light); }
.guest-list-item.new-checkin { animation: highlight 1.5s ease-out; }
@keyframes highlight { from { background-color: #d4edda; } to { background-color: transparent; } }

/* Responsividade do Check-in Mobile */
@media screen and (max-width: 600px) {
    .checkin-container { max-width: 100%; }
    .checkin-header { padding: 10px; }
    .header-info h1 { font-size: 1.2rem; }
    .manual-checkin form { flex-direction: column; }
}