
/* ==============================
   OVERLAY
   ============================== */
#c24h-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
}

/* ==============================
   WRAPPER POPUP
   ============================== */
.c24h-wrapper {
    margin: 22px;
    line-height: 0.7em !important;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: white;
    z-index: 99999;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    padding: 20px;
    overflow-y: auto;
    max-width: calc(100% - 20px);
    max-height: calc(100% - 20px);
}

/* ==============================
   FORM ELEMENTS
   ============================== */
.c24h-field {
    margin-bottom: 10px;
}

.c24h-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

/* GRID RESPONSIVE */
.c24h-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

@media(max-width:900px) {
    .c24h-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .c24h-grid {
        grid-template-columns: 1fr;
    }
}

/* INPUTS */
.c24h-wrapper input,
.c24h-wrapper select,
.c24h-wrapper textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* BOTONES */
.c24h-btn-group {
    display: flex;
    gap: 10px;
    align-items: end;
    height: 50px;
}

.c24h-btn-group button {
    background: #d80000;
    color: white;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
}

/* TABLAS */
.c24h-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.c24h-table th {
    background: #f4f4f4;
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.c24h-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

/* AVISOS */
.c24h-aviso {
    background: #eee;
    padding: 12px;
    margin-bottom: 20px;
}

#c24h-error {
    background: #d80000;
    color: white;
    padding: 12px;
    margin-bottom: 20px;
    display: none;
}

/* LOPD */
.c24h-lopd {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}
.c24h-lopd input {
    width: 40px;
    height: 20px;
    padding: 0px !important;
    margin: -4px !important;
}

/* SUBMIT */
.c24h-submit {
    background: #0073aa;
    color: white;
    padding: 16px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
}

/* BOTÓN FLOTANTE */
#c24h-floating-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #0073aa;
    color: white;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 999999;
}

.c24h-hr {
    border:1px solid #a8a8a8;  
    height: 0px !important;
}

.col-md-4 {
    display: none;
}

.col-md-8{
    width: 100%;
}