/* ==============================
   SweetAlert - Editar Asistencia
============================== */

.swal-mobile {
    border-radius: 12px !important;
    max-width: 400px;
    margin: 0 auto;
}

.swal-title-mobile {
    font-size: 1.4rem !important;
    margin-bottom: 1rem !important;
    color: white;
}

.swal-content-mobile {
    padding: 0 !important;
    font-size: 14px;
}

.mobile-form {
    padding: 0.5rem;
}

/* ==============================
   Estado actual
============================== */

.current-status {
    background: linear-gradient(
        135deg,
        rgba(52, 152, 219, 0.05),
        rgba(52, 152, 219, 0.02)
    );
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.status-label {
    font-size: 0.8rem;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.status-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.3rem;
}

.status-value.late {
    color: white;
}

.status-date {
    font-size: 0.9rem;
    color: white;
}

/* ==============================
   Formulario
============================== */

.divider {
    height: 1px;
    margin: 1.2rem 0;
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.mobile-select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    font-size: 1rem;
    padding-right: 2.5rem;
}

.datetime-container {
    display: flex;
    gap: 0.5rem;
}

.mobile-input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    font-size: 1rem;
}

.date-input {
    flex: 1.2;
}

.time-input {
    flex: 0.8;
}

/* ==============================
   SweetAlert ajustes móviles
============================== */

.swal-select-mobile,
.swal-input-mobile {
    font-size: 16px !important; /* Evita zoom en iOS */
}

.mobile-select:hover,
.mobile-input:hover {
    border-color: white;
}

/* ==============================
   Responsive
============================== */

@media (max-width: 480px) {
    .swal-mobile {
        width: 95% !important;
    }

    .datetime-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .mobile-input {
        width: 100%;
    }
}
