﻿/* ==========================
   LOKERS - Cerrar Turno (UI)
   ========================== */

.ct-title {
    color: rgba(255,255,255,.92);
    margin: 8px 0 14px;
    font-weight: 800;
    letter-spacing: .2px;
}

/* IMPORTANTE: evita desbordes raros dentro de grid */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 980px) {
    .ct-grid {
        grid-template-columns: 1fr;
    }
}

.ct-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 16px 50px rgba(0,0,0,.35);
}

.ct-card__title {
    color: rgba(255,255,255,.92);
    font-weight: 800;
    margin-bottom: 10px;
}

.ct-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
}

@media (max-width: 520px) {
    .ct-form {
        grid-template-columns: 1fr;
    }
}

.ct-field {
    min-width: 0; /* 🔥 clave para que el input no se “salga” en grid */
}

    .ct-field label {
        display: block;
        color: rgba(255,255,255,.72);
        font-size: 12px;
        margin-bottom: 6px;
    }

/* ✅ INPUTS AJUSTADOS */
.ct-input {
    width: 100%;
    min-width: 0;
    height: 44px; /* altura fija para que se vean parejos */
    padding: 10px 14px;
    border-radius: 12px; /* menos “pastilla” => adiós óvalo raro */
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.92);
    outline: none;
    font-size: 14px;
    line-height: 1;
    appearance: none; /* quita estilos raros del navegador */
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

    /* Readonly más pro */
    .ct-input[readonly] {
        cursor: default;
        background: rgba(255,255,255,.07);
    }

    /* Focus suave */
    .ct-input:focus {
        border-color: rgba(124,193,255,.55);
        box-shadow: 0 0 0 3px rgba(78,161,255,.18);
    }

/* Boton */
.ct-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.ct-btn {
    border: 0;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 800;
    cursor: pointer;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.92);
}

.ct-btn--danger {
    background: rgba(255,80,80,.22);
    border: 1px solid rgba(255,80,80,.35);
}

.ct-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.ct-muted {
    color: rgba(255,255,255,.70);
}

.ct-msg {
    margin-top: 12px;
    color: rgba(255,255,255,.85);
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
}
