/* =====================================================
   ACCIONES RÁPIDAS TIPO KIDZAPP
===================================================== */

.actividad-quick-actions {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    margin-top: 18px;

    overflow: hidden;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 24px
        rgba(15, 23, 42, .05);
}


.actividad-quick-item {
    min-height: 115px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 18px 12px;

    border: 0;

    border-right:
        1px solid
        #edf0f2;

    background:
        #ffffff;

    color:
        #111827;

    text-decoration:
        none;

    text-align:
        center;

    cursor:
        pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}


.actividad-quick-item:last-child {
    border-right: 0;
}


.actividad-quick-item:hover {
    background:
        #fffaf5;

    color:
        #111827;
}


.actividad-quick-item strong {
    font-size: 14px;

    line-height: 1.25;

    font-weight: 700;
}


/* ICONOS */

.actividad-quick-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 20px;
}


/* TELÉFONO */

.actividad-quick-phone {
    background: #f6ebfa;
    color: #9445a8;
}


/* HORARIO */

.actividad-quick-schedule {
    background: #eef6ff;
    color: #3182ce;
}


/* WEB */

.actividad-quick-web {
    background: #eafaf2;
    color: #159967;
}


/* CALENDARIO */

.actividad-quick-calendar {
    background: #fff3e8;
    color: #f47b32;
}



/* =====================================================
   MODAL HORARIOS
===================================================== */

.horario-modal-content,
.calendario-modal-content {
    border: 0;

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 25px 80px
        rgba(0, 0, 0, .24);
}


.horario-modal-header,
.calendario-modal-header {
    padding: 22px 24px;

    border-bottom:
        1px solid
        #edf0f2;
}


.horario-modal-header h5,
.calendario-modal-header h5 {
    display: flex;

    align-items: center;

    gap: 9px;

    margin: 0 0 3px;

    color: #111827;

    font-size: 20px;

    font-weight: 800;
}


.horario-modal-header h5 i,
.calendario-modal-header h5 i {
    color: #ff8345;
}


.horario-modal-header small,
.calendario-modal-header small {
    color: #6b7280;
}


.horario-modal-body {
    padding: 18px;
}


.horario-modal-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 9px;

    padding: 14px 16px;

    border:
        1px solid
        #edf0f2;

    border-radius: 12px;

    background: #ffffff;
}


.horario-modal-row:last-child {
    margin-bottom: 0;
}


.horario-dia {
    color: #374151;

    font-weight: 700;
}


.horario-horas {
    color: #111827;

    font-size: 14px;

    font-weight: 700;
}


.horario-cerrado {
    color: #9ca3af;

    font-size: 13px;
}


/* HOY */

.horario-modal-row.is-today {
    border-color:
        #ff8345;

    background:
        #fff8f3;
}


.horario-modal-row.is-today
.horario-dia {
    color:
        #f36e2d;
}


.horario-modal-row.is-today::before {
    content: "Hoy";

    padding:
        3px
        8px;

    border-radius:
        20px;

    background:
        #ff8345;

    color:
        #ffffff;

    font-size:
        10px;

    font-weight:
        800;
}



/* =====================================================
   CALENDARIO
===================================================== */

.calendario-modal-body {
    padding: 24px;
}


.calendario-input {
    min-height: 48px;

    border-radius: 10px;
}


.calendario-horario-seleccionado {
    min-height: 62px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 15px;

    border-radius: 12px;

    background: #f8fafc;

    color: #64748b;
}


.calendario-horario-seleccionado
div {
    display: flex;

    flex-direction: column;
}


.calendario-horario-seleccionado
strong {
    color: #111827;
}


.calendario-horario-seleccionado
span {
    font-size: 13px;
}


.calendario-horario-seleccionado.is-available {
    border:
        1px solid
        #bdebd5;

    background:
        #effbf5;

    color:
        #159967;
}


.calendario-horario-seleccionado.is-unavailable {
    border:
        1px solid
        #fed7d7;

    background:
        #fff5f5;

    color:
        #dc2626;
}



/* BOTONES CALENDARIO */

.calendario-buttons {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 15px;

    margin-top: 22px;
}


.calendario-btn {
    min-height: 90px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 15px;

    border: 0;

    border-radius: 12px;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        opacity .2s ease;
}


.calendario-btn:not(:disabled):hover {
    transform:
        translateY(-2px);
}


.calendario-btn:disabled {
    opacity: .45;

    cursor: not-allowed;
}


.calendario-google {
    background:
        #ff8345;

    color:
        #ffffff;
}


.calendario-default {
    background:
        #111827;

    color:
        #ffffff;
}


.calendario-btn i {
    font-size: 21px;
}


.calendario-ayuda {
    display: block;

    margin-top: 15px;

    color: #6b7280;

    text-align: center;
}



/* =====================================================
   TABLET
===================================================== */

@media (
    min-width: 577px
)
and (
    max-width: 991px
) {

    .actividad-quick-actions {
        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );
    }


    .actividad-quick-item {
        min-height: 105px;

        padding: 15px 8px;
    }


    .actividad-quick-icon {
        width: 46px;
        height: 46px;

        font-size: 18px;
    }


    .actividad-quick-item strong {
        font-size: 13px;
    }

}



/* =====================================================
   CELULAR
===================================================== */

@media (
    max-width: 576px
) {

    .actividad-quick-actions {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        border-radius: 14px;
    }


    .actividad-quick-item {
        min-height: 100px;

        border-right:
            1px solid
            #edf0f2;

        border-bottom:
            1px solid
            #edf0f2;

        padding:
            14px
            8px;
    }


    .actividad-quick-item:nth-child(even) {
        border-right: 0;
    }


    .actividad-quick-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }


    .actividad-quick-icon {
        width: 44px;
        height: 44px;

        font-size: 17px;
    }


    .actividad-quick-item strong {
        font-size: 12px;
    }


    /*
    MODAL
    */

    .horario-modal-header,
    .calendario-modal-header {
        padding: 18px;
    }


    .horario-modal-body,
    .calendario-modal-body {
        padding: 15px;
    }


    .horario-modal-row {
        padding: 12px;
    }


    .calendario-buttons {
        grid-template-columns:
            1fr;
    }


    .calendario-btn {
        min-height: 62px;
    }

}