/* ============================
   LOAN FORMS & DASHBOARD
   ============================ */
.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;
}

/* --- THE BOX DESIGN --- */
.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 {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #555;
    padding: 0;
    height: auto;
    outline: none;
    font-family: 'Inter', sans-serif;
}

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

.readonly-wrapper {
    background-color: #f9f9f9;
    cursor: not-allowed;
}

.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; }

/* Error Text */
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;
}

/* ============================
   RESULT DASHBOARD STYLES
   ============================ */
#result-dashboard {
    display: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 50px;
}

.res-header-modern {
    background: #f1f1f166;
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 10px solid #00427C;
}

.res-header-left h3 {
    font-size: 22px;
    font-weight: 700;
    color: #134877;
    margin: 0;
}

.res-header-left p {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0 0;
}

.success-badge {
    background: #e6f8ee;
    color: #28a745;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
}

.dashboard-body { padding: 30px; }

.loan-highlight-box {
    background: #f4f8fb;
    border: 1px solid #dbeeff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.loan-amount-big {
    font-size: 38px;
    color: #134877;
    font-weight: 800;
    margin: 8px 0;
}

.loan-subtext {
    font-size: 13px;
    color: #777;
}

.emi-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    height: 100%;
}

.emi-value {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-top: 5px;
}

.simple-table {
    width: 100%;
    font-size: 14px;
}

.simple-table tr td {
    padding: 12px 0;
    border-bottom: 1px dashed #e1e1e1;
    color: #555;
}

.simple-table .val {
    text-align: right;
    font-weight: 600;
    color: #222;
}

.car-details-box {
    background-color: #fff9e6;
    border: 1px solid #ffeeba;
    border-radius: 6px;
    padding: 20px;
    margin-top: 25px;
    font-size: 14px;
}

.result-footer {
    background: #f9f9f9;
    padding: 20px 30px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 15px;
}

.btn-edit {
    background: #fff;
    border: 1px solid #ccc;
    color: #555;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    flex: 1;
    transition: 0.2s;
}

.btn-enquire {
    background: #ffca33;
    border: 1px solid #ffca33;
    color: #000;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 700;
    flex: 1.5;
    transition: 0.2s;
}

.error-dashboard {
    display: none;
    margin-top: 20px;
    text-align: center;
    padding: 40px;
    background: #fff5f5;
    border: 1px solid #ffcccc;
    border-radius: 10px;
}

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

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

/* Additional Helper Classes */
.sub-title {
    font-size: 15px;
    font-weight: 700;
    color: #134877;
    margin-top: 15px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
}

.highlight-green-row td {
    color: #28a745 !important;
    font-weight: 700 !important;
    background: #f0fff4;
    padding-left: 10px;
    padding-right: 10px;
}
