/* 1. STRUCTURAL LAYOUT FIXES */

/* Force the wrapping LI to behave like a full-width row */
li#field_ziiz_pan_india_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    grid-column: 1 / -1 !important; /* If Form uses CSS Grid */
    display: block !important;
    margin-bottom: 20px !important;
}

/* The Inner Container */
#ziiz-pan-india-wrapper {
    background: #ffffff;
    padding: 25px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    box-sizing: border-box;
}

/* 2. UI STYLING */

#ziiz-pan-india-wrapper h3.gsection_title {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    display: block;
}

/* Rows & Cols */
.ziiz-row {
    display: flex;
    flex-wrap: wrap; /* Allow wrap on mobile */
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.ziiz-col {
    flex: 1;
    min-width: 200px; /* Prevent squashing */
}

/* Inputs */
.ziiz-select {
    width: 100% !important;
    height: 45px;
    padding: 0 12px;
    border: 1px solid #ddd !important;
    border-radius: 4px;
    font-size: 15px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
}

.ziiz-select:disabled {
    background: #f9f9f9;
    color: #999;
    cursor: not-allowed;
}

.ziiz-col label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #23282d;
}

.gfield_required {
    color: #d0021b;
    margin-left: 3px;
}

/* Loading */
#ziiz-loading {
    font-size: 13px;
    color: #0073aa;
    margin-top: 5px;
}

/* Mobile */
@media (max-width: 768px) {
    .ziiz-row {
        flex-direction: column;
        gap: 15px;
    }
}
