:root {
    --gold: #D4AF37;
    --dark-bg: #0F0F0F;
    --card-bg: #1A1A1A;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: #E5E5E5;
}

h1, h2, h3, .font-oswald {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.text-gold { 
    color: var(--gold); 
}

.bg-gold { 
    background-color: var(--gold); 
}

/* Barra de rolagem personalizada */
::-webkit-scrollbar { 
    width: 6px; 
    height: 6px; 
}

::-webkit-scrollbar-track { 
    background: #1a1a1a; 
}

::-webkit-scrollbar-thumb { 
    background: var(--gold); 
    border-radius: 10px; 
}

/* Animação do Modal */
.modal-overlay {
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    transform: translateY(50px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* Chips de Data e Hora */
.chip {
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid #333;
}

.chip.selected {
    background-color: var(--gold);
    color: black;
    border-color: var(--gold);
    font-weight: 600;
}

.chip:hover:not(.selected) {
    border-color: var(--gold);
}

/* Seleção de Barbeiro */
.barber-card {
    border: 1px solid #333;
    transition: all 0.2s ease;
    cursor: pointer;
}

.barber-card.selected {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

/* Estilo do Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    width: 100%;
    z-index: 100;
    top: 100%;
    margin-top: 8px;
    background: #252525;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.dropdown-content.show {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Estilos de Validação */
input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.error-message {
    display: none;
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

input:invalid:not(:placeholder-shown) + .error-message {
    display: block;
}

/* Botão flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); 
    }
    70% { 
        transform: scale(1.05); 
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); 
    }
    100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); 
    }
}

/* Efeito Galeria */
.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Cartão de Confirmação (Estilo Ticket) */
.confirmation-card {
    background: #1e1e1e;
    border-radius: 20px;
    border: 1px dashed var(--gold);
    position: relative;
}

.confirmation-card::before,
.confirmation-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #1A1A1A;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.confirmation-card::before { 
    left: -11px; 
}

.confirmation-card::after { 
    right: -11px; 
}

/* Status de Carregamento */
.loading-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 60;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
}
