/**
 * ASUDESC Reservas - Estilos das Abas
 */

/* Container dos botões arredondados */
/* Container Principal */
.asudesc-formulario-reserva {
    max-width: 650px !important;
    margin: 30px auto !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    border-top: 5px solid #1C7F6B !important;
    padding: 40px !important;
}

/* Seletor de Abas (Pílulas) */
.asudesc-busca-selector {
    display: flex !important;
    justify-content: center !important;
    background: #f3f4f6 !important;
    padding: 6px !important;
    border-radius: 50px !important;
    max-width: 400px !important;
    margin: 0 auto 30px auto !important;
}

.asudesc-btn-tab {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    color: #6B7280 !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.asudesc-btn-tab.active {
    background: #1C7F6B !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(28, 127, 107, 0.2) !important;
}

/* Campos de Data Lado a Lado */
.asudesc-form-row {
    display: flex !important;
    gap: 15px !important;
    flex-wrap: nowrap !important; /* Força ficar na mesma linha */
}

.asudesc-form-row > div {
    flex: 1 !important;
}

/* Estilização dos Inputs */
.asudesc-form-group input, 
.asudesc-form-group select, 
.asudesc-form-group textarea {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    background: #f8fafc !important;
    width: 100% !important;
    font-size: 15px !important;
}

.asudesc-form-group input:focus {
    border-color: #1C7F6B !important;
    background: #ffffff !important;
    outline: none !important;
}

/* Controle de Abas */
.asudesc-tab-content { display: none; }
.asudesc-tab-content.active { display: block !important; }

/* Botão Verde */
.btn-verde {
    background: #1C7F6B !important;
    color: white !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 15px !important;
    border-radius: 8px !important;
    border: none !important;
    transition: 0.3s !important;
}

.btn-verde:hover { background: #155e50 !important; }

/*CÓDIGO NOVO 20260401*/
/* Container da Lista de Datas */
.asudesc-lista-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px; /* Altura máxima com scroll */
    overflow-y: auto;
    padding-right: 5px;
}

/* Card de Data Individual */
.asudesc-data-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.asudesc-data-card:hover {
    border-color: #1C7F6B;
    background: #f0fdfa;
    transform: translateX(3px);
}

/* Textos da Data */
.asudesc-data-info {
    display: flex;
    flex-direction: column;
}

.asudesc-dia-semana {
    font-weight: 700;
    color: #1f2937;
    font-size: 14px;
    text-transform: capitalize;
}

.asudesc-dia-mes {
    font-size: 12px;
    color: #6b7280;
}

/* Badge de Sorteio/Período Especial */
.asudesc-tag-especial {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
    width: fit-content;
}

/* Botão Selecionar dentro da Lista */
.asudesc-btn-selecionar-data {
    background: #1C7F6B;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.asudesc-btn-selecionar-data:hover {
    background: #155e50;
}

.asudesc-btn-selecionar-data.indisponivel {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}