/* ==========================================================
   AJAX ARCHIVE - PREMIUM ADMIN STYLES
========================================================== */

/* ----------------------------------------------------------
   FORM LAYOUT
---------------------------------------------------------- */

.smt-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


---------------------------------------------------------- */

.smt-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 16px;
    border: 1px solid #e7e7ea;
    border-radius: 12px;
    background: #fff;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.05),
        0 6px 16px rgba(0,0,0,0.06);
    margin: 14px 0;
}

/* Left side (label + description container if needed) */
.smt-field > label {
    flex: 0 0 240px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
}

/* Right side control */
.smt-field > input[type="text"],
.smt-field > select {
    flex: 1 1 auto;
    max-width: 320px;

    border-radius: 10px;
    border: 1px solid #d2d2d8;
    background: #f9f9fb;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.smt-field > input[type="text"]:focus,
.smt-field > select:focus {
    border-color: #5e5df0;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(94,93,240,0.15);
    outline: none;
}

@media (max-width: 782px) {
    .smt-field {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .smt-field > label {
        flex: none;
    }

    .smt-field > input[type="text"],
    .smt-field > select {
        max-width: 100%;
    }
}


/* ----------------------------------------------------------
   DESCRIPTION TEXT
---------------------------------------------------------- */

.smt-field .description {
    font-size: 13px;
    color: #6b6b76;
}

#smttool_ajax_saved {
    font-size: 14px;
    font-weight: 600;
    color: #5e5df0;
    transition: opacity 0.3s ease;
}

/* ----------------------------------------------------------
   SECTION DIVIDER
---------------------------------------------------------- */

.smt-section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 4px;
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.smt-section-divider::before,
.smt-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e7e7ea;
}

/* ----------------------------------------------------------
   QUICK VIEW HOOK INFO BLOCK
---------------------------------------------------------- */

.smt-qv-hook-info {
    background: #f4f6fc;
    border: 1px solid #dde1ef;
    border-radius: 12px;
    padding: 16px 20px;
    margin: -6px 0 10px;
}

.smt-qv-hook-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
}

.smt-qv-hook-title code {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: #e8ebf8;
    border-radius: 6px;
    font-size: 13px;
    font-family: monospace;
    color: #5e5df0;
}

.smt-qv-hook-label {
    margin: 12px 0 4px;
    font-size: 12.5px;
    color: #667085;
}

.smt-qv-hook-example {
    margin: 0;
    padding: 12px 16px;
    background: #1e1e2e;
    color: #cdd6f4;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.6;
    white-space: pre;
    overflow-x: auto;
    font-family: 'Consolas', 'Fira Mono', monospace;
}
