/* Reset & Box Sizing */
.hc-calculator,
.hc-calculator * {
    box-sizing: border-box;
    font-family: inherit;
}

.hc-calculator {
    width: 100%;
    max-width: 450px;
    margin: 20px auto;
    direction: rtl;
}

.hc-card {
    padding: 25px;
    border: 1px solid #c5a059;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.hc-header {
    text-align: center;
    margin-bottom: 20px;
}

.hc-title {
    margin: 0;
    color: #1b263b;
    font-size: 20px;
    font-weight: 800;
}

.hc-field {
    margin-bottom: 15px;
}

.hc-field label {
    display: block;
    margin-bottom: 8px;
    color: #1b263b;
    font-size: 14px;
    font-weight: 600;
}

/* Inputs & Selects */
.hc-input {
    display: block;
    width: 100% !important;
    height: 46px !important;
    padding: 8px 12px !important;
    border: 1px solid #c5a059 !important; /* اجبار بردر */
    border-radius: 8px !important;
    background-color: #fff !important;
    color: #1b263b !important;
    font-size: 15px !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none;
}

/* Buttons Base */
.hc-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 48px !important;
    margin-top: 10px;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    border: 2px solid #c5a059 !important;
}

/* دکمه محاسبه اقساط: بک سفید، متن طلایی */
.hc-button-calc {
    background-color: #fff !important;
    color: #c5a059 !important;
}

.hc-button-calc:hover {
    background-color: #c5a059 !important;
    color: #fff !important;
}

/* دکمه ثبت درخواست (CTA): بک طلایی، متن سفید */
.hc-button-cta {
    background-color: #c5a059 !important;
    color: #fff !important;
    margin-top: 15px !important;
}

.hc-button-cta:hover {
    background-color: #b18f47 !important;
    border-color: #b18f47 !important;
}

/* Results Section */
.hc-result {
    margin-top: 20px;
    padding: 15px;
    background-color: #fcfaf5;
    border-radius: 10px;
    border: 1px dashed #c5a059;
}

.hc-result-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.hc-result-row:last-child {
    border-bottom: none;
}

.hc-result-row span {
    color: #555;
    font-size: 14px;
}

.hc-result-row strong {
    color: #1b263b;
    font-size: 15px;
}

.hc-error {
    color: #d63638;
    background: #fff5f5;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
    .hc-card {
        padding: 15px;
    }
}
