/** CSS BARBER PREMIUM **/
* { box-sizing: border-box; outline: none; }
body { background: #080808; color: #fff; font-family: 'Poppins', sans-serif; margin: 0; padding: 20px; }

.app-container { max-width: 450px; margin: 0 auto; background: #111; border-radius: 40px; padding: 30px; border: 1px solid #222; }

.header { text-align: center; margin-bottom: 25px; }
.header h1 { color: #d4af37; margin: 0; font-size: 26px; letter-spacing: 2px; }
.header p { color: #555; font-size: 11px; letter-spacing: 1px; }

.days-wrapper { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 15px; scrollbar-width: none; }
.day-card { min-width: 80px; height: 95px; background: #1a1a1a; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: #666; transition: 0.3s; }
.day-card.active { background: #d4af37; color: #000; font-weight: bold; transform: scale(1.05); }
.day-txt { font-size: 11px; text-transform: uppercase; }
.day-num { font-size: 18px; font-weight: 700; }

.period-toggle { display: flex; background: #1a1a1a; border-radius: 50px; padding: 5px; margin-bottom: 25px; }
.btn-toggle { flex: 1; border: none; background: none; color: #666; padding: 12px; border-radius: 50px; cursor: pointer; font-weight: 600; font-size: 13px; transition: 0.3s; }
.btn-toggle.active { background: #fff; color: #000; }

.grid-periodo { display: none; }
.grid-periodo.active { display: block; }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

/* Botões de Horário */
.time-item input { display: none; }
.time-label { 
    display: block; padding: 15px 0; background: #1a1a1a; border-radius: 15px; 
    text-align: center; border: 1px solid #222; cursor: pointer; font-size: 13px; color: #fff; transition: 0.2s; 
}
.time-item input:checked + .time-label { background: #fff; color: #000; font-weight: bold; border-color: #fff; }

/* Estilo para RESERVADOS */
/** 
 * ESTILO PARA HORÁRIOS RESERVADOS
 * Deixa o botão cinza escuro e o texto "apagado"
 */
.time-label.is-busy { 
    background: #181818 !important; /* Um cinza um pouco mais claro que o fundo */
    color: #858585 !important; /* Cor do número bem apagada */
    border: 1px dashed #333 !important; /* Borda tracejada para indicar bloqueio */
    text-decoration: line-through; /* Mantém o risco no número */
    cursor: not-allowed;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
}

/* Garante que o hover não funcione em botões ocupados */
.time-label.is-busy:hover {
    transform: none !important;
    background: #181818 !important;
}


.form-footer { margin-top: 30px; }
.input-modern { width: 100%; background: #1a1a1a; border: 1px solid #222; border-radius: 15px; padding: 15px; color: #ffee00 !important; margin-bottom: 12px; }
.btn-main { background: #d4af37; color: #000; border: none; width: 100%; padding: 20px; border-radius: 20px; font-weight: bold; font-size: 15px; cursor: pointer; transition: 0.3s; }

/* Estilo para a caixa de seleção de serviço */
select.input-custom {
    appearance: none; /* Remove a seta padrão do navegador */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' width='12' height='12' fill='%23d4af37' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Garante que as opções do menu fiquem escuras */
select option {
    background: #1a1a1a;
    color: #fff;
}

a.text-muted.small {
    padding: 10px 20px;
    margin: 10px 20px;
    background: #ffd600;
    color: #000;
    top: 20px;
    position: relative;
}

.mt-5 {
    padding-top: 10px;
}
