/* ==========================================================
   Quick Onboard – Modern SaaS UI
   Built on Forsur design language
   ========================================================== */

#quickonboard {
    font-size: 0.85rem;
}

/* Container */
.qo-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 12px;
}

/* Card */
.qo-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Title */
.qo-title {
    margin: 0 0 16px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Sections */
.qo-section {
    margin-bottom: 20px;
}

.qo-section h3 {
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
}

/* Grid layouts */
.qo-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
}

.qo-grid.one   { grid-template-columns: 1fr; }
.qo-grid.two   { grid-template-columns: 1fr 1fr; }
.qo-grid.three { grid-template-columns: 1fr 1fr 1fr; }

/* Labels */
.qo-grid label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
    display: block;
    letter-spacing: 0.02em;
}

/* Dynamic portal fields */
.qo-dynamic-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

/* Status */
.qo-status {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Actions */
.qo-actions.inline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

/* Footer */
.qo-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

/* Buttons (inherit Forsur style, just spacing) */
#quickonboard .forsur-button {
    min-width: 120px;
}

/* Disabled fields */
#quickonboard input[disabled] {
    background-color: #f9fafb !important;
    color: #6b7280 !important;
}

/* Mobile */
@media (max-width: 768px) {
    .qo-grid.two,
    .qo-grid.three {
        grid-template-columns: 1fr;
    }

    .qo-footer {
        justify-content: stretch;
    }

    .qo-footer button {
        width: 100%;
    }
}
.qo-required::after {
    content: " *";
    color: #d63638; /* WordPress admin red */
    font-weight: bold;
}

.qo-required-field {
    border-left: 3px solid #d63638;
    padding-left: 6px;
}
.qo-field-error {
    border: 1px solid #d63638 !important;
    background: #fff5f5;
}
.qo-field-group {
    margin-bottom: 14px;
}

.qo-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
}
#quickonboard input[disabled] {
    background-color: #f3f4f6 !important; /* soft gray for prefilled/locked fields */
    color: #6b7280 !important;           /* gray text to indicate uneditable */
    cursor: not-allowed;                  /* visual hint the field is locked */
}/* ===== Layout ===== */
.qo-layout {
    max-width: 1200px;
    margin: 0 auto;
}

.qo-columns {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

/* ===== Sections ===== */
.qo-section {
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 6px;
    background: #fafafa;
}

.qo-section h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

/* ===== Grids ===== */
.qo-grid {
    display: grid;
    gap: 10px 12px;
    margin-bottom: 10px;
}

.qo-grid.one   { grid-template-columns: 1fr; }
.qo-grid.two   { grid-template-columns: repeat(2, 1fr); }
.qo-grid.three { grid-template-columns: 1fr 1fr 1.2fr; }

/* ===== Inputs ===== */
.forsur-input {
    height: 34px;
    font-size: 14px;
}

label {
    font-size: 12px;
    margin-bottom: 4px;
}

/* ===== Monitoring ===== */
.qo-monitoring .qo-dynamic-fields {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

/* ===== Footer ===== */
.qo-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
}

/* ===== Utility ===== */
.hidden {
    display: none !important;
}
