/* تنظیمات کلی صفحه */
.qt-page-container {
    width: 98%;
    max-width: 1100px;
    margin: 80px auto 35px; 
    padding: 0 12px;
    box-sizing: border-box;
    direction: rtl; 
    text-align: right; 
    font-weight: normal;
}

/* کادر اصلی سفید رنگ */
.qt-contact-wrapper {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #edf0f2;
}

/* عنوان داخل کادر به همراه آیکون و خط نازک زیرین */
.qt-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f4f8;
}

.qt-card-header h1 {
    font-size: 20px;
    color: #003366;
    font-weight: bold;
    margin: 0;
}

.qt-card-icon {
    color: #003366;
    flex-shrink: 0;
}

/* لایوت دو ستونه برای فرم و راهنما */
.qt-contact-body {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.qt-contact-guide, .qt-contact-form-section {
    flex: 1;
    min-width: 300px;
}

/* ========================================= */
/* استایل‌های راهنمای پیش از تماس */
/* ========================================= */
.qt-warning-box {
    background: #fff5f5;
    border: 2px solid #ffcdd2;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.qt-warning-box h3 {
    color: #d32f2f;
    font-size: 17px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qt-warning-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    font-weight: normal !important;
}

.qt-issue-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.qt-issue-item h4 {
    margin: 0 0 10px 0;
    font-size: 15px;
    color: #333;
    font-weight: normal !important;
}

.qt-issue-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
    box-sizing: border-box;
}
.qt-btn-red { background: #ffebee; color: #c62828 !important; border: 1px solid #ffcdd2; }
.qt-btn-red:hover { background: #ffcdd2; }
.qt-btn-orange { background: #fff8e1; color: #f57f17 !important; border: 1px solid #ffecb3; }
.qt-btn-orange:hover { background: #ffecb3; }

/* باکس تماس تلفنی مجاز */
.qt-phone-box {
    background: #f1f8e9;
    border: 2px solid #c5e1a5;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.qt-phone-box h3 {
    color: #2e7d32;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.qt-call-number {
    display: inline-block;
    margin: 0 auto;
    background: #28a745;
    color: #fff !important;
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-decoration: none;
    direction: ltr;
    box-shadow: 0 3px 8px rgba(40,167,69,0.3);
    transition: background 0.2s;
}

.qt-call-number:hover {
    background: #218838;
}

.qt-call-hours {
    margin-top: 15px;
    color: #1b5e20;
    font-size: 13px;
    font-weight: normal !important;
}

/* ========================================= */
/* استایل‌های فرم تماس با ما */
/* ========================================= */
.qt-form-intro { 
    font-size: 14px; 
    margin-bottom: 5px; 
    color: #555; 
    font-weight: normal !important;
}
.qt-form-sub-note { 
    font-size: 12px; 
    color: #c62828; 
    margin-bottom: 15px; 
    font-weight: normal !important;
}
.qt-form-group { margin-bottom: 15px; }
.qt-form-group input, .qt-form-group textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 8px;
    font-size: 14px; box-sizing: border-box; outline: none; transition: border-color 0.2s;
    font-family: inherit; text-align: right;
    font-weight: normal;
}
.qt-form-group input:focus, .qt-form-group textarea:focus { border-color: #0066cc; }
.qt-form-group textarea { height: 120px; resize: vertical; }
.qt-submit-btn {
    background: #0066cc; color: #fff; border: none; padding: 12px 25px;
    border-radius: 8px; font-size: 15px; font-weight: bold; cursor: pointer;
    width: 100%; transition: background 0.3s; font-family: inherit;
}
.qt-submit-btn:hover { background: #0052a3; }

.qt-alert { padding: 12px 15px; border-radius: 8px; margin-bottom: 15px; font-weight: normal !important; text-align: right; }
.qt-alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; border-right: 4px solid #dc3545;}
.qt-alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; border-right: 4px solid #28a745;}

@media (max-width: 768px) {
    .qt-contact-wrapper { padding: 18px; }
    .qt-contact-body { flex-direction: column; gap: 20px; }
    .qt-card-header h1 { font-size: 18px; }
    .qt-page-container { margin-top: 75px; }
}