/* Loan Calculator Styling */
.xetai-calc-box {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    padding: 30px;
    margin: 25px 0;
}

.xetai-calc-header {
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.xetai-calc-header h3 {
    color: #d32f2f;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.xetai-calc-header p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.xetai-calc-grid {
    display: flex;
    gap: 30px;
}

.xetai-calc-form {
    flex: 1.2;
}

.calc-form-group {
    margin-bottom: 18px;
}

.calc-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 14px;
}

.calc-form-group input,
.calc-form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    height: 44px !important;
}

.calc-form-group input:focus,
.calc-form-group select:focus {
    border-color: #d32f2f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
}

.xetai-calc-result-card {
    flex: 1;
    background: #212121;
    color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.xetai-calc-result-card h4 {
    color: #ff5252;
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
    padding-bottom: 12px;
}

.res-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.res-item strong {
    font-size: 15px;
}

.text-highlight {
    color: #ffd600;
}

.res-divider {
    border-top: 1px dashed rgba(255,255,255,0.2);
    margin: 15px 0;
}

.res-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.res-total span {
    font-weight: 600;
    font-size: 15px;
}

.res-total strong {
    font-size: 20px;
    color: #ff5252;
    font-weight: 800;
}

.calc-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-calc-call, .btn-calc-zalo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-calc-call {
    background: #d32f2f;
    color: #fff !important;
}
.btn-calc-call:hover {
    background: #b71c1c;
}

.btn-calc-zalo {
    background: #0068ff;
    color: #fff !important;
}
.btn-calc-zalo:hover {
    background: #0054cc;
}

@media (max-width: 768px) {
    .xetai-calc-grid {
        flex-direction: column;
    }
}
