/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
*/
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
/*
html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/
    /* ===========================
   BASE GENERAL
=========================== */
body.barber-main {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d) !Important;
    /*   min-height: 100vh;*/
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
}

/* TOP BAR */
.top-row {
    background-color: #1c1c1c;
    /*height: 3.5rem;
    display: flex;
    align-items: center;
    padding-left: 1rem;*/
}

    .top-row a {
        color: #ffcb74;
        text-decoration: none;
        font-weight: bold;
    }

        .top-row a:hover {
            color: #ffa500;
            text-decoration: underline;
        }

/* ===========================
   CONTENEDOR GENERAL
=========================== */
.page-container-barber {
    padding: 25px;
    max-width: 1100px;
    margin: auto;
}

/* ===========================
   TARJETAS PRINCIPALES
=========================== */
.card-modern-barber {
    background: #1b1b1b;
    border-radius: 18px;
    padding: 25px;
    border: 1px solid #323232;
    color: #f1f1f1;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.3);
}

    .card-modern-barber h2,
    .card-modern-barber h3 {
        color: #ffcb74;
    }

/* ===========================
   BOTONES
=========================== */
.btn-barber-primary {
    background: linear-gradient(90deg, #df9d39, #ffcb74);
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
    color: #1c1c1c;
    font-weight: bold;
}

    .btn-barber-primary:hover {
        opacity: 0.9;
    }

.btn-barber-secondary {
    background: #444;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    color: white;
}

/* ===========================
   INPUTS
=========================== */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
}

.input-modern {
    background: #2a2a2a !important;
    border: 1px solid #444 !important;
    color: white !important;
    border-radius: 10px !important;
    padding: 12px !important;
}

    .input-modern:focus {
        background: #333 !important;
        border-color: #ffcb74 !important;
        box-shadow: 0 0 5px rgba(255,203,116,0.4) !important;
    }

/* ===========================
   TARJETAS DE MEMBRESÍA
=========================== */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.membership-card {
    background: #242424;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #333;
    text-align: center;
}

    .membership-card h4 {
        color: #ffcb74;
    }

    .membership-card .price {
        display: block;
        margin-top: 10px;
        font-size: 20px;
        font-weight: bold;
        color: #df9d39;
    }

/* ===========================
   TARJETAS DE SERVICIOS
=========================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    background: #242424;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #333;
}

    .service-card h4 {
        color: #ffcb74;
    }

    .service-card .price {
        display: block;
        margin-top: 10px;
        font-size: 18px;
        font-weight: bold;
        color: #df9d39;
    }

/* ===========================
   FOOTER
=========================== */
footer {
    text-align: center;
    padding: 25px;
    color: #ffcb74;
    font-size: 14px;
}
/* ====== OVERLAY DEL MODAL ====== */
.modal-modern-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999 !important; /* MUY IMPORTANTE */
}

/* Oculto */
.modal-modern-overlay.d-none {
    display: none !important;
}

/* ====== CONTENEDOR DEL MODAL ====== */
.modal-modern {
    width: 700px;
    max-width: 90%;
    background: #1e1e1e;
    padding: 25px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 0 18px rgba(0,0,0,0.8);

    z-index: 10000 !important;
}

/* Header */
.modal-header-barber {
    color: #ffcb74;
    border-bottom: 1px solid #444;
}

/* Botón de cerrar */
.close-btn {
    background: transparent;
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
}
.close-btn:hover {
    color: #ffcb74;
}
main, .container, .container-fluid {
    background: transparent !important;
}
.detalle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

    .detalle-row select {
        flex: 1;
        min-width: 220px;
    }

    .detalle-row input[type="number"] {
        width: 180px;
    }

    .detalle-row span {
        min-width: 150px;
        line-height: 1.5;
    }

    .detalle-row .btn-icon {
        flex-shrink: 0;
    }

.payment-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.payment-rowselect {
    flex: 1;
    min-width: 220px;
}

.payment-row input[type="number"] {
    width: 180px;
}

.payment-row span {
    min-width: 150px;
    line-height: 1.5;
}

.payment-row .btn-icon {
    flex-shrink: 0;
}
#cboBuscarPor {
    padding-left: 16px !important;
    padding-right: 35px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400 !important;
}
.logo-barberia {
    width: 150px;
    max-width: 100%;
    height: 80px;
    object-fit: contain;
}
/* =====================================================
   PERFIL DE USUARIO
===================================================== */

.perfil-page {
    width: 100%;
    padding: 30px;
    color: #f1f1f1;
}

/* CONTENEDOR */

.perfil-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

/* =====================================================
   TARJETAS
===================================================== */

.perfil-card {
    background: #1b1b1b;
    border: 1px solid #323232;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* =====================================================
   HEADER
===================================================== */

.perfil-card-header {
    padding: 20px 25px;
    background: linear-gradient( 90deg, #1c1c1c, #242424 );
    border-bottom: 1px solid #3a3a3a;
}

    .perfil-card-header h3 {
        margin: 0;
        color: #ffcb74;
        font-size: 20px;
        font-weight: 600;
    }

        .perfil-card-header h3 i {
            margin-right: 8px;
            color: #df9d39;
        }

/* =====================================================
   BODY
===================================================== */

.perfil-card-body {
    padding: 25px;
}

/* =====================================================
   FOTO
===================================================== */

.perfil-photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.perfil-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient( 135deg, #df9d39, #ffcb74 );
    box-shadow: 0 0 20px rgba(255, 203, 116, 0.25);
}

    .perfil-photo img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        background: #2a2a2a;
        border: 3px solid #1b1b1b;
    }

/* =====================================================
   FORMULARIOS
===================================================== */

.perfil-form-group {
    margin-bottom: 20px;
}

    .perfil-form-group label {
        display: block;
        margin-bottom: 7px;
        color: #ffcb74;
        font-size: 14px;
        font-weight: 600;
    }

        .perfil-form-group label i {
            width: 20px;
            color: #df9d39;
        }

/* =====================================================
   INPUTS
===================================================== */

.perfil-input {
    width: 100%;
    box-sizing: border-box;
    background: #2a2a2a !important;
    border: 1px solid #444 !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

    .perfil-input:focus {
        background: #333 !important;
        border-color: #ffcb74 !important;
        box-shadow: 0 0 5px rgba(255, 203, 116, 0.4) !important;
    }

    /* INPUT DESHABILITADO */

    .perfil-input:disabled {
        background: #202020 !important;
        color: #999 !important;
        border-color: #333 !important;
        cursor: not-allowed;
    }

/* =====================================================
   BOTÓN PRINCIPAL
===================================================== */

.btn-perfil-primary {
    width: 100%;
    background: linear-gradient( 90deg, #df9d39, #ffcb74 );
    border: none;
    color: #1c1c1c;
    font-weight: bold;
    padding: 12px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    margin-top: 5px;
}

    .btn-perfil-primary i {
        margin-right: 7px;
    }

    .btn-perfil-primary:hover {
        opacity: 0.9;
        transform: translateY(-1px);
        box-shadow: 0 5px 15px rgba(255, 203, 116, 0.2);
    }

    .btn-perfil-primary:active {
        transform: translateY(0);
    }
/* =========================================
   SWEETALERT - ESTILO BARBERÍA
========================================= */

/* Fondo de la alerta */
.sweet-alert {
    background-color: #1e1e1e !important;
    color: #f1f1f1 !important;
    border-radius: 15px !important;
    border: 1px solid #323232 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7) !important;
}

    /* Título */
    .sweet-alert h2 {
        color: #ffcb74 !important;
        font-family: 'Open Sans', sans-serif;
        font-weight: bold;
    }

    /* Texto */
    .sweet-alert p {
        color: #f1f1f1 !important;
        font-family: 'Open Sans', sans-serif;
    }

    /* Botón principal */
    .sweet-alert button.confirm {
        background: linear-gradient(90deg, #df9d39, #ffcb74) !important;
        color: #1c1c1c !important;
        border: none !important;
        border-radius: 10px !important;
        font-weight: bold !important;
    }

        /* Hover botón principal */
        .sweet-alert button.confirm:hover {
            background: #df9d39 !important;
        }

    /* Botón cancelar */
    .sweet-alert button.cancel {
        background: #444 !important;
        color: white !important;
        border: none !important;
        border-radius: 10px !important;
    }

        /* Hover cancelar */
        .sweet-alert button.cancel:hover {
            background: #555 !important;
        }

    /* Iconos */
    .sweet-alert .sa-icon.sa-success {
        border-color: #ffcb74 !important;
    }

        .sweet-alert .sa-icon.sa-success .sa-line {
            background-color: #ffcb74 !important;
        }

    .sweet-alert .sa-icon.sa-error {
        border-color: #d9534f !important;
    }

    .sweet-alert .sa-icon.sa-warning {
        border-color: #ffcb74 !important;
    }

/* Overlay oscuro */
.sweet-overlay {
    background-color: rgba(0, 0, 0, 0.75) !important;
}
/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .perfil-page {
        padding: 15px;
    }

    .perfil-container {
        grid-template-columns: 1fr;
    }

    .perfil-card-body {
        padding: 20px;
    }
}
/* =====================================================
   DASHBOARD BARBER
===================================================== */

.dashboard-title {
    color: #ffcb74;
    font-weight: 700;
}

/* =====================================================
   FILTROS
===================================================== */

.dashboard-filtros {
    display: flex;
    gap: 0px !important;
}

.btn-periodo {
    background: #242424;
    color: #aaa;
    border: 1px solid #444;
    border-radius: 10px !important;
    padding: 9px 16px;
    transition: all 0.2s ease;
}

    .btn-periodo:hover {
        background: #2d2d2d;
        color: #ffcb74;
        border-color: #df9d39;
    }

    .btn-periodo.active {
        background: linear-gradient(90deg, #df9d39, #ffcb74) !important;
        border-color: #df9d39 !important;
        color: #1c1c1c !important;
        font-weight: bold;
    }


/* =====================================================
   FILTRO PERSONALIZADO
===================================================== */

.dashboard-fechas {
    background: #1b1b1b;
    border: 1px solid #323232;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.30);
}

    .dashboard-fechas label {
        color: #ffcb74;
        font-weight: 600;
    }

    .dashboard-fechas input {
        background: #2a2a2a !important;
        border: 1px solid #444 !important;
        color: #fff !important;
        border-radius: 10px !important;
    }

        .dashboard-fechas input:focus {
            background: #333 !important;
            border-color: #ffcb74 !important;
            box-shadow: 0 0 5px rgba(255,203,116,0.4) !important;
        }

.btn-dashboard-primary {
    background: linear-gradient(90deg, #df9d39, #ffcb74);
    border: none;
    color: #1c1c1c;
    font-weight: bold;
    border-radius: 10px;
    padding: 10px 18px;
    transition: all 0.2s ease;
}

    .btn-dashboard-primary:hover {
        opacity: 0.9;
        color: #1c1c1c;
        transform: translateY(-1px);
    }


/* =====================================================
   TARJETAS
===================================================== */

.dashboard-card {
    background: #1b1b1b;
    border: 1px solid #323232;
    border-left: 4px solid #df9d39;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.30);
    transition: all 0.2s ease;
}

    .dashboard-card:hover {
        transform: translateY(-2px);
        border-left-color: #ffcb74;
        box-shadow: 0 10px 30px rgba(0,0,0,0.40);
    }

.dashboard-card-body {
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-card-title {
    color: #aaa;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.dashboard-card-value {
    color: #f1f1f1;
    font-size: 22px;
    font-weight: 700;
}

.dashboard-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,203,116,0.10);
    border: 1px solid rgba(255,203,116,0.20);
    color: #ffcb74;
    font-size: 20px;
}


/* =====================================================
   GRÁFICOS
===================================================== */

.dashboard-chart-card {
    background: #1b1b1b;
    border: 1px solid #323232;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.30);
    overflow: hidden;
}

.dashboard-chart-header {
    padding: 16px 20px;
    background: linear-gradient( 90deg, #1c1c1c, #242424 );
    border-bottom: 1px solid #323232;
}

    .dashboard-chart-header h6 {
        margin: 0;
        color: #ffcb74;
        font-weight: 700;
    }

.dashboard-chart-body {
    padding: 20px;
}

/* =====================================================
   FECHAS PERSONALIZADAS - DASHBOARD
===================================================== */

.dashboard-fechas {
    background: #1b1b1b !important;
    border: 1px solid #323232 !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.30);
    overflow: hidden;
}

.dashboard-fechas-body {
    padding: 25px;
}


/* =====================================================
   LABELS
===================================================== */

.dashboard-fechas label {
    display: block;
    margin-bottom: 8px;
    color: #ffcb74 !important;
    font-size: 14px;
    font-weight: 600;
}

    .dashboard-fechas label i {
        color: #df9d39;
        margin-right: 6px;
    }


/* =====================================================
   INPUTS DE FECHA
===================================================== */

.dashboard-date-input {
    height: 42px;
    background-color: #2a2a2a !important;
    border: 1px solid #444 !important;
    border-radius: 10px !important;
    color: #f1f1f1 !important;
    padding: 8px 12px !important;
    font-family: 'Open Sans', sans-serif;
    box-shadow: none !important;
}


    /* Placeholder */
    .dashboard-date-input::placeholder {
        color: #888 !important;
    }


    /* Cuando haces click */
    .dashboard-date-input:focus {
        background-color: #333 !important;
        border-color: #ffcb74 !important;
        color: #fff !important;
        box-shadow: 0 0 5px rgba(255, 203, 116, 0.4) !important;
    }


    /* =====================================================
   ICONO DEL CALENDARIO
===================================================== */

    .dashboard-date-input::-webkit-calendar-picker-indicator {
        filter: invert(82%) sepia(43%) saturate(500%) hue-rotate(350deg) brightness(105%);
        cursor: pointer;
    }


/* =====================================================
   BOTÓN CONSULTAR
===================================================== */

.btn-dashboard-primary {
    height: 42px;
    background: linear-gradient( 90deg, #df9d39, #ffcb74 ) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #1c1c1c !important;
    font-weight: bold;
    padding: 8px 18px;
    transition: all 0.2s ease;
}

    .btn-dashboard-primary:hover {
        background: linear-gradient( 90deg, #d18e2d, #ffcb74 ) !important;
        color: #1c1c1c !important;
        transform: translateY(-1px);
        box-shadow: 0 5px 15px rgba( 255, 203, 116, 0.20 );
    }

    .btn-dashboard-primary:active {
        transform: translateY(0);
    }
/* =====================================================
   SERVICIOS DE MEMBRESÍAS
===================================================== */

.membership-services-card {
    background: #1b1b1b;
    border: 1px solid #323232;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}


/* =====================================================
   HEADER
===================================================== */

.membership-services-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    padding-bottom: 22px;
    border-bottom: 1px solid #333;
}


.membership-services-title {
    display: flex;
    align-items: center;
    gap: 15px;
}


.membership-services-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(223, 157, 57, 0.12);
    border: 1px solid rgba(255, 203, 116, 0.25);
    color: #ffcb74;
    font-size: 21px;
}


.membership-services-title h2 {
    margin: 0;
    color: #ffcb74;
    font-size: 24px;
    font-weight: 600;
}


.membership-services-title p {
    margin: 4px 0 0;
    color: #999;
    font-size: 13px;
}


/* =====================================================
   ACCIONES DEL HEADER
===================================================== */

.membership-services-actions {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}


.membership-select-container {
    min-width: 280px;
}


    .membership-select-container label {
        display: block;
        margin-bottom: 6px;
        color: #ffcb74;
        font-size: 13px;
        font-weight: 600;
    }


        .membership-select-container label i {
            color: #df9d39;
            margin-right: 5px;
        }


.membership-select {
    width: 100%;
    height: 42px;
    background: #2a2a2a !important;
    border: 1px solid #444 !important;
    border-radius: 10px;
    color: #f1f1f1 !important;
    padding: 0 12px;
    outline: none;
    transition: all 0.2s ease;
}


    .membership-select:focus {
        border-color: #ffcb74 !important;
        box-shadow: 0 0 0 2px rgba(255, 203, 116, 0.10), 0 0 8px rgba(255, 203, 116, 0.15) !important;
    }


    .membership-select option {
        background: #242424;
        color: #f1f1f1;
    }


/* =====================================================
   BOTÓN AGREGAR
===================================================== */

.membership-add-btn {
    height: 42px;
    white-space: nowrap;
}


    .membership-add-btn:disabled {
        background: #3a3a3a;
        color: #777;
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }


/* =====================================================
   TABLA
===================================================== */

.membership-table-container {
    margin-top: 25px;
}


.membership-table {
    width: 100% !important;
    color: #f1f1f1 !important;
}


    .membership-table thead th {
        background: #242424 !important;
        color: #ffcb74 !important;
        border-top: none !important;
        border-bottom: 1px solid #444 !important;
        padding: 14px 12px !important;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }


        .membership-table thead th i {
            color: #df9d39;
            margin-right: 5px;
        }


    .membership-table tbody td {
        background: #1b1b1b !important;
        color: #ddd !important;
        border-top: 1px solid #303030 !important;
        padding: 14px 12px !important;
        vertical-align: middle;
    }


    .membership-table tbody tr:hover td {
        background: #242424 !important;
    }


/* =====================================================
   DATATABLES
===================================================== */

.dataTables_wrapper {
    color: #ccc !important;
}


    .dataTables_wrapper label {
        color: #aaa !important;
    }


    .dataTables_wrapper select,
    .dataTables_wrapper input {
        background: #2a2a2a !important;
        border: 1px solid #444 !important;
        color: #fff !important;
        border-radius: 8px !important;
    }


        .dataTables_wrapper input:focus,
        .dataTables_wrapper select:focus {
            border-color: #ffcb74 !important;
            box-shadow: 0 0 5px rgba(255, 203, 116, 0.25) !important;
        }


.dataTables_info {
    color: #888 !important;
}


.dataTables_paginate .paginate_button {
    color: #ccc !important;
    background: #242424 !important;
    border: 1px solid #444 !important;
    border-radius: 6px !important;
    margin-left: 3px;
}


    .dataTables_paginate .paginate_button:hover {
        background: #df9d39 !important;
        border-color: #df9d39 !important;
        color: #1c1c1c !important;
    }


    .dataTables_paginate .paginate_button.current {
        background: linear-gradient( 90deg, #df9d39, #ffcb74 ) !important;
        border-color: #df9d39 !important;
        color: #1c1c1c !important;
        font-weight: bold;
    }


/* =====================================================
   MODAL
===================================================== */

.membership-modal-dialog {
    max-width: 520px;
}


.membership-modal {
    background: #1e1e1e !important;
    border: 1px solid #343434 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.75) !important;
}


/* =====================================================
   HEADER DEL MODAL
===================================================== */

.membership-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    background: linear-gradient( 90deg, #1c1c1c, #242424 );
    border-bottom: 1px solid #3a3a3a;
}


.membership-modal-title {
    display: flex;
    align-items: center;
    gap: 13px;
}


.membership-modal-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(223, 157, 57, 0.12);
    border: 1px solid rgba(255, 203, 116, 0.25);
    color: #ffcb74;
}


.membership-modal-title h3 {
    margin: 0;
    color: #ffcb74;
    font-size: 20px;
    font-weight: 600;
}


.membership-modal-title span {
    display: block;
    margin-top: 3px;
    color: #888;
    font-size: 12px;
}


.membership-modal-close {
    background: transparent;
    border: none;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}


    .membership-modal-close:hover {
        color: #ffcb74;
        transform: scale(1.1);
    }


/* =====================================================
   BODY DEL MODAL
===================================================== */

.membership-modal-body {
    padding: 25px 22px;
}


.membership-form-group {
    margin-bottom: 20px;
}


    .membership-form-group:last-child {
        margin-bottom: 0;
    }


    .membership-form-group label {
        display: block;
        margin-bottom: 7px;
        color: #ffcb74;
        font-size: 14px;
        font-weight: 600;
    }


        .membership-form-group label i {
            width: 20px;
            color: #df9d39;
        }


/* =====================================================
   INPUTS DEL MODAL
===================================================== */

.membership-form-control {
    width: 100%;
    box-sizing: border-box;
    height: 42px;
    background: #2a2a2a !important;
    border: 1px solid #444 !important;
    border-radius: 9px !important;
    color: #f1f1f1 !important;
    padding: 8px 12px;
    outline: none;
    transition: all 0.2s ease;
}


    .membership-form-control:focus {
        background: #303030 !important;
        border-color: #ffcb74 !important;
        box-shadow: 0 0 5px rgba(255, 203, 116, 0.25) !important;
    }


select.membership-form-control option {
    background: #242424;
    color: #f1f1f1;
}
/* =====================================================
   MODAL DETALLE MEMBRESÍA CLIENTE
===================================================== */

.membership-detail-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999 !important;
}

    .membership-detail-overlay.d-none {
        display: none !important;
    }


/* =====================================================
   CONTENEDOR
===================================================== */

.membership-detail-modal {
    width: 850px;
    max-width: 95%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #1b1b1b !important;
    border: 1px solid #323232;
    border-radius: 18px;
    color: #f1f1f1;
    box-shadow: 0 15px 50px rgba(0,0,0,0.75);
    overflow: hidden;
}


/* =====================================================
   HEADER
===================================================== */

.membership-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: linear-gradient( 90deg, #1c1c1c, #242424 );
    border-bottom: 1px solid #3a3a3a;
}

.membership-detail-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.membership-detail-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(223,157,57,0.12);
    border: 1px solid rgba(255,203,116,0.25);
    color: #ffcb74;
    font-size: 20px;
}

.membership-detail-title h3 {
    margin: 0;
    color: #ffcb74;
    font-size: 20px;
    font-weight: 600;
}

.membership-detail-title span {
    display: block;
    margin-top: 4px;
    color: #888;
    font-size: 12px;
}


/* =====================================================
   BOTÓN CERRAR
===================================================== */

.membership-detail-close {
    background: transparent;
    border: none;
    color: #888;
    font-size: 22px;
    cursor: pointer;
    transition: 0.2s;
}

    .membership-detail-close:hover {
        color: #ffcb74;
        transform: scale(1.1);
    }


/* =====================================================
   BODY
===================================================== */

.membership-detail-body {
    padding: 25px;
    overflow-y: auto;
    background: #1b1b1b !important;
    color: #f1f1f1 !important;
}


    /* =====================================================
   TEXTO DEL DETALLE
===================================================== */

    .membership-detail-body p {
        color: #ddd !important;
        margin-bottom: 10px;
    }

    .membership-detail-body strong {
        color: #ffcb74 !important;
    }

    .membership-detail-body hr {
        border-top: 1px solid #333 !important;
    }

    .membership-detail-body h5 {
        color: #ffcb74 !important;
        margin-bottom: 15px;
    }


    /* =====================================================
   TABLA DE SERVICIOS DEL MODAL
===================================================== */

    .membership-detail-body .table {
        width: 100%;
        color: #ddd !important;
        background: #1b1b1b !important;
    }

        .membership-detail-body .table thead th {
            background: #242424 !important;
            color: #ffcb74 !important;
            border-color: #444 !important;
        }

        .membership-detail-body .table tbody td {
            background: #1b1b1b !important;
            color: #ddd !important;
            border-color: #333 !important;
        }

        .membership-detail-body .table tbody tr:hover td {
            background: #242424 !important;
        }


/* =====================================================
   FOOTER
===================================================== */

.membership-detail-footer {
    display: flex;
    justify-content: flex-end;
    padding: 17px 25px;
    background: #1b1b1b;
    border-top: 1px solid #333;
}

.btn-detalle {
    margin-right: 8px;
    margin-left: 4px;
}

/* =====================================================
   RESPONSIVE
===================================================== */

/* =====================================================
   FOOTER MODAL
===================================================== */

.membership-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 17px 22px;
    background: #1b1b1b;
    border-top: 1px solid #333;
}


.membership-save-btn,
.membership-cancel-btn {
    min-width: 105px;
    height: 42px;
}


    .membership-save-btn i,
    .membership-cancel-btn i {
        margin-right: 5px;
    }


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .membership-services-header {
        flex-direction: column;
        align-items: stretch;
    }

    .membership-services-actions {
        width: 100%;
    }

    .membership-select-container {
        flex: 1;
    }
}


@media (max-width: 600px) {

    .membership-services-card {
        padding: 18px;
    }

    .membership-services-title h2 {
        font-size: 20px;
    }

    .membership-services-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .membership-select-container {
        width: 100%;
    }

    .membership-add-btn {
        width: 100%;
    }

    .membership-modal-footer {
        flex-direction: column-reverse;
    }

    .membership-save-btn,
    .membership-cancel-btn {
        width: 100%;
    }
}
/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .dashboard-filtros {
        width: 100%;
        margin-top: 15px;
    }

    .btn-periodo {
        flex: 1;
        min-width: 100px;
    }
    .membership-detail-modal {
        max-width: 95%;
        max-height: 92vh;
    }

    .membership-detail-header {
        padding: 16px 18px;
    }

    .membership-detail-body {
        padding: 18px;
    }

    .membership-detail-title h3 {
        font-size: 17px;
    }
}