﻿/* Fondo corporativo suave */
body {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    font-family: 'Segoe UI', sans-serif;
}

/* Tarjetas corporativas */
.card-corporate {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 2rem;
}

/* Cabecera de formularios */
.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

    .form-header i {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }

    .form-header h3 {
        font-weight: 700;
    }

/* Inputs */
.form-control {
    border-radius: 0.5rem;
}

/* Botones */
.btn-corporate {
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.75rem;
}

/* Footer de formularios */
.form-footer {
    text-align: center;
    margin-top: 1.5rem;
}

    .form-footer a {
        text-decoration: none;
        font-weight: 600;
    }

/* Grid responsive para botones de horas */
#hoursList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

    /* Botones de hora */
    #hoursList button {
        padding: 8px 12px;
        font-size: 0.9rem;
        border-radius: 6px;
        border: 1px solid #198754;
        background-color: #fff;
        color: #198754;
        transition: all 0.2s ease-in-out;
        cursor: pointer;
    }

        #hoursList button:hover {
            background-color: #198754;
            color: #fff;
            transform: scale(1.05); /* efecto agrandar */
        }

/* Botones de servicios */
#servicesList button {
    padding: 8px 12px;
    font-size: 0.9rem;
    border-radius: 6px;
    border: 1px solid #0d6efd;
    background-color: #fff;
    color: #0d6efd;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

    #servicesList button:hover {
        background-color: #0d6efd;
        color: #fff;
        transform: scale(1.05); /* efecto agrandar */
    }

/* Botones de días del calendario */
.calendar-day-btn {
    width: 100%;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2px;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    line-height: 1.2;
    border-radius: 0; /* sin recuadro */
}

    /* Hover en días del calendario → oscurecer sin agrandar */
    .calendar-day-btn:not([disabled]):hover {
        transform: none !important; /* fuerza que no se agrande */
        filter: brightness(85%); /* oscurece dinámicamente el color */
        cursor: pointer;
        transition: filter 0.2s ease-in-out;
    }

    /* Días no disponibles → cursor distinto */
    .calendar-day-btn[disabled] {
        cursor: not-allowed;
        opacity: 0.7;
    }

    /* Etiqueta Hoy debajo del número */
    .calendar-day-btn .badge {
        font-size: 0.7rem;
        margin-top: 4px;
    }

    /* Texto de citas */
    .calendar-day-btn small {
        font-size: 0.75rem;
        margin-top: 2px;
    }

/* Evitar que las celdas del calendario se agranden por reglas globales */
.calendar-table td:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Evitar que las celdas del calendario se agranden */
.calendar-table td {
    transition: none !important;
    border-radius: 0 !important;
}

    .calendar-table td:hover {
        transform: none !important;
        box-shadow: none !important;
    }

/* Evitar que los botones del calendario se agranden */
.calendar-day-btn:hover {
    transform: none !important;
}

.calendar-table td {
    padding: 2px !important; /* o el valor que prefieras */
}