@font-face {
    font-family: 'Inter';
    src: url('../../resource/fonts/Inter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Estilos generales */
.admin-dashboard {
    font-family: 'Inter';
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.styleTitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 600;
}

/* Contenedor de estadísticas */
.stats-containerADM {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Tarjetas de estadísticas */
.stat-cardADM {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-cardADM:hover {
    transform: translateY(-5px);
}

.stat-cardADM h3 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-cardADM p {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Contenedor de acciones */
.admin-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Botones estilo ghost */
.btnADM {
    font-family: 'Inter';
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #9B8776;
    background-color: transparent;
    color: #9B8776;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primaryADM {
    background-color: transparent;
}

.btnADM:hover {
    background-color: #9B8776;
    color: white;
}

.input_fieldCoac {
    width: auto;
    height: 40px;
    padding: 0 0 0 40px;
    border-radius: 7px;
    outline: none;
    border: 1px solid #9B8776;
    filter: drop-shadow(0px 1px 0px #efefef) drop-shadow(0px 1px 0.5px rgba(239, 239, 239, 0.5));
    transition: all 0.3s cubic-bezier(0.15, 0.83, 0.66, 1);
}

.input_fieldCoac:focus {
    border: 1px solid transparent;
    box-shadow: 0px 0px 0px 2px #242424;
    background-color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-containerADM {
        flex-direction: column;
    }
    
    .stat-cardADM {
        min-width: 100%;
    }
    
    .admin-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btnADM {
        width: 100%;
        text-align: center;
    }
    .input_fieldCoac {
        height: 36px;
        width: 66vh;
    }
}

@media (max-width: 480px) {
    .admin-dashboard {
        padding: 1rem;
    }
    
    .stat-cardADM h3 {
        font-size: 0.9rem;
    }
    
    .stat-cardADM p {
        font-size: 1.5rem;
    }
    
    .btnADM {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    .input_fieldCoac {
        height: 36px;
        padding: 0 12px;
        width: 35vh;
    }
}

/*card de buscador y activador*/

.token-activation-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px;
    margin-top: 3vh;
}

.token-activation-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    max-width: 600px;
    width: 100%;
}

.token-activation-card h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.token-search {
    margin-bottom: 20px;
}

.input_fieldBus {
    width: 93%;
    height: 40px;
    padding: 0 0 0 40px;
    border-radius: 7px;
    outline: none;
    border: 1px solid #9B8776;
    filter: drop-shadow(0px 1px 0px #efefef) drop-shadow(0px 1px 0.5px rgba(239, 239, 239, 0.5));
    transition: all 0.3s cubic-bezier(0.15, 0.83, 0.66, 1);
}

.input_fieldBus:focus {
    border: 1px solid transparent;
    box-shadow: 0px 0px 0px 2px #242424;
    background-color: transparent;
}

.no-pendientes {
    text-align: center;
    margin-top: 20px;
    color: #555;
}

.pendientes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pending-payment {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9;
}

.pending-payment p {
    margin: 5px 0;
    font-size: 1rem;
}

.activar-token {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.activar-token:hover {
    background-color: #218838;
}

/* Responsive */
@media (max-width: 600px) {
    .token-activation-card {
        padding: 15px;
    }

    .token-activation-card h2 {
        font-size: 1.5rem;
    }
}

/* Responsive */
@media (max-width: 768px) {

    .input_fieldBus {
        height: 36px;
        width: 60vh;
    }
}

@media (max-width: 480px) {

    .input_fieldBus {
        height: 36px;
        padding: 0 12px;
        width: 35vh;
    }
}


/*Reservas activas*/

/* Contenedor principal */
.reservas-activas-card {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: auto;
    font-family: 'Inter', sans-serif;
}

/* Título */
.styleTitle {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Contenedor de todas las reservas */
.reservas-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 100%;
    overflow: auto;
}

/* Cada reserva individual */
.active-reservation {
    background: #fff;
    border-left: 5px solid #6dbb9e;
    border-radius: 0.75rem;
    padding: 1.2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.active-reservation:hover {
    transform: translateY(-4px);
}

/* Cabecera con el badge */
.reservation-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
}

.estado-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.estado-badge.confirmada {
    background-color: #d1f2eb;
    color: #1abc9c;
    border: 1px solid #1abc9c;
}

.estado-badge.completada {
    background-color: #fef9e7;  /* Amarillo muy claro */
    color: #d4ac0d;            /* Dorado oscuro */
    border: 1px solid #d4ac0d;
}

/* Nombre del coach */
.coach-name {
    font-weight: 600;
    color: #2c3e50;
}

/* Mensaje sin reservas */
.no-pendientes {
    text-align: center;
    color: #888;
    font-size: 1.1rem;
    padding: 2rem 0;
}

/* Errores */
.error-message {
    color: red;
    text-align: center;
}

/* Paginación */
.paginacion {
    text-align: center;
    margin-top: 2rem;
}

.paginacion a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #eee;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.paginacion a:hover,
.paginacion a.activa {
    background-color: #6dbb9e;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .reservas-activas-card {
        padding: 1.2rem;
    }

    .styleTitle {
        font-size: 1.4rem;
    }

    .active-reservation {
        padding: 1rem;
    }

    .paginacion a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

/*boton rojo*/

.btnC {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}



.btn-danger {
    background-color: #dc3545; /* Rojo */
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
}

