/* ============================
   UNIFIED FORM DESIGN (Same as Loan Pages)
   ============================ */
.app-container { margin: 0 auto; }

.bg-thme {
    background: #FFFFFF;
    padding: 30px !important;
    border-radius: 4px !important;
    border: 1px solid #e9e9e9 !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.02);
}

.section-title {
    font-weight: 700;
    font-size: 20px;
    color: #000;
    margin-bottom: 20px;
    margin-left: 5px;
}

/* --- INPUT BOX WRAPPER --- */
.input-box-wrapper {
    background-color: #fcfcfc;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 20px;
    transition: 0.2s ease-in-out;
    position: relative;
}

.input-box-wrapper:focus-within {
    border-color: #134877;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(19, 72, 119, 0.05);
}

.input-box-wrapper label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #293957;
    margin-bottom: 2px;
    cursor: pointer;
}

.input-box-wrapper input,
.input-box-wrapper select,
.input-box-wrapper textarea {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #555;
    padding: 0;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.input-box-wrapper input::placeholder,
.input-box-wrapper textarea::placeholder {
    color: #888;
    font-weight: 400;
}

/* Submit Button */
.btn-submit {
    background-color: #14304B;
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    width: 100%;
    cursor: pointer;
    margin-top: 10px;
}

.btn-submit:hover { background-color: #333; }

/* Validation Errors */
label.error {
    color: #dc3545;
    font-size: 11px;
    position: absolute;
    bottom: -18px;
    left: 2px;
    margin-bottom: 0;
    font-weight: 400 !important;
}

.error-border {
    border-color: #dc3545 !important;
    background-color: #fff8f8 !important;
}

/* Wrapper Container */
.search-form-wrapper {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    position: relative;
}

/* --- TEXTAREA AUTO EXPAND --- */
.auto-expand-textarea {
    min-height: 50px; /* Fixed Initial Height */
    overflow-y: hidden; /* Hide scrollbar */
    resize: none; /* Disable manual resize */
    line-height: 1.5;
    padding-top: 5px;
}

@media (max-width: 776px) {
    .bg-thme { padding: 30px 12px !important; }
}
