/* الخط العام */
body {
    font-family: 'IBM Plex Arabic', sans-serif;
    background: #f5f5f5;
    color: #222;
}

/* الهيدر */
.main-header {
    background: #111;
    padding: 15px 0;
    border-bottom: 3px solid #b68a4c;
}

.main-header .logo {
    height: 70px;
    border: 2px solid #b68a4c;
    border-radius: 10px;
    background: #fff;
    padding: 5px 15px;
}

.main-header nav a {
    color: #fff;
    margin-left: 25px;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}

.main-header nav a:hover,
.main-header nav a.active {
    color: #b68a4c;
}

/* صندوق الحساب */
.calc-box {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #b68a4c;
    box-shadow: 0 0 15px rgba(0,0,0,0.08);
}

.title {
    color: #b68a4c;
    font-weight: 700;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 25px;
}

.section-title {
    color: #b68a4c;
    font-weight: 600;
    margin-bottom: 15px;
}

/* الأزرار */
.btn-gold {
    background: #b68a4c;
    color: #fff;
    font-weight: bold;
    padding: 12px 35px;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-gold:hover {
    background: #9c743f;
    color: #fff;
}

/* النتائج */
.results-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #b68a4c;
}

.results-table th {
    background: #b68a4c;
    color: #fff;
    text-align: center;
}

.results-table td {
    text-align: center;
}

.final-sum {
    color: green;
    font-weight: bold;
    font-size: 20px;
}

/* تنسيق الحقول */
label {
    font-weight: 600;
    color: #333;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* استجابة الشاشات */
@media (max-width: 768px) {
    .main-header nav a {
        margin-left: 10px;
        font-size: 16px;
    }

    .calc-box {
        padding: 20px;
    }
}
