/* استایل کلی برای بخش پست‌ها */
.country-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    padding: 20px;
}

/* استایل هر پست */
.country-post {
    width: calc(25% - 16px); /* ۵ کارت در یک ردیف با فاصله ۲۰ پیکسل */
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
	cursor: pointer;
}

.country-post:hover {
    transform: translateY(-10px);
}

/* استایل تصویر */
.country-post img {
    width: 100%;
    height: 248px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
    position: relative;
}

.country-post:hover img {
    transform: scale(1.05);
}

/* اورلی مشکی روی عکس */
.country-post::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    z-index: 1;
}

/* استایل عنوان */
.country-post h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 15px;
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    z-index: 2;
    background: transparent;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* استایل لینک */
.country-post a {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

/* استایل برای تبلت */
@media (max-width: 1024px) {
    .country-post {
        width: calc(25% - 15px); /* ۴ کارت در یک ردیف */
    }
}

/* استایل برای موبایل */
@media (max-width: 768px) {
    .country-post {
        width: calc(33.33% - 13.33px); /* ۳ کارت در یک ردیف */
    }
}

@media (max-width: 480px) {
    .country-post {
        width: calc(100% - 10px); /* ۲ کارت در یک ردیف */
    }

    .country-post img {
        height: 260px;
    }

    .country-post h3 {
        font-size: 20px;
        padding: 10px;
    }
}

/*-----------------------------------------
 * ---------استایل لیست درخواست ها---------
 * -----------------------------------------------*/
/* استایل کلی لیست درخواست‌ها */
.user-requests-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

/* استایل هر آیتم درخواست */
.request-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.request-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* استایل عنوان درخواست */
.request-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #333;
}

/* استایل پاراگراف دانشگاه */
.request-item p {
    margin: 0 0 15px;
    font-size: 1.1em;
    color: #555;
}

/* استایل دکمه مشاهده جزئیات */
.view-details-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073e6;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.view-details-button:hover {
    background-color: #005bb5;
}

/* استایل پیام عدم وجود درخواست */
.user-requests-list p {
    text-align: center;
    font-size: 1.2em;
    color: #777;
}


/*------------------------------------------
 * ---------------استایل جزئیات درخواست ها-----------
 * ----------------------------------------------------*/
/* استایل کلی جزئیات درخواست */
.request-details {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'DanaFaNum-Bold';
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.request-details h2 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 10px;
}

.request-details p {
    margin: 10px 0;
    color: #555;
    font-size: 16px;
}

/* استایل جدول مدارک هویتی */
.identity-docs-table {
    margin-top: 20px;
    overflow-x: auto;
}

.identity-docs-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.identity-docs-table th,
.identity-docs-table td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #e0e0e0;
}

.identity-docs-table th {
    background-color: #0073e6;
    color: #fff;
    font-weight: bold;
}

.identity-docs-table tbody tr:hover {
    background-color: #f5f5f5;
}

/* استایل وضعیت‌ها */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

/* استایل دکمه دانلود */
.download-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0073e6;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #005bb5;
}

/* استایل برای فایل‌های آپلود نشده */
.no-file {
    color: #ff0000;
    font-style: italic;
}


/* استایل بخش مراحل درخواست */
.request-steps {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.request-steps h3 {
    margin-top: 0;
    color: #333;
    font-size: 20px;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 10px;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-item {
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.step-item:hover {
    background-color: #f1f1f1;
}

.step-item strong {
    display: block;
    color: #0073e6;
    font-size: 16px;
    margin-bottom: 5px;
}

.step-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    background-color: #e0e0e0;
    color: #333;
}

.step-notes {
    margin-top: 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* استایل وضعیت‌های مراحل */
.step-status-approved {
    background-color: #d4edda;
    color: #155724;
}

.step-status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.step-status-pending {
    background-color: #fff3cd;
    color: #856404;
}

/* استایل برای توضیحات کارشناس */
.step-notes {
    background-color: #fff;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

/* استایل برای بخش‌های اضافی (در صورت نیاز) */
.additional-info {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.additional-info h3 {
    margin-top: 0;
    color: #333;
    font-size: 20px;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 10px;
}

.additional-info p {
    margin: 10px 0;
    color: #555;
    font-size: 16px;
}

/* استایل برای خطاها */
.request-error {
    padding: 20px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    margin: 20px auto;
    max-width: 1000px;
}

/* استایل پروگرس‌بار */
/* استایل کلی پروگرس بار */
.request-steps {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.progress-bar-request {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.step-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.step-icon i {
    font-size: 16px;
    color: #fff;
}

.step-icon.current-step {
background-color: #4CAF50;
    transform: scale(1.2);
    padding: 20px;
    width: 41px;
}

.step-icon.past-step {
    background-color: #2196F3; /* رنگ برای مراحل گذشته */
}

.step-icon.future-step {
    background-color: #817c7c; /* رنگ برای مراحل آینده */
}

/* اضافه کردن خطوط بین مراحل */
.progress-bar-request:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ccc;
    z-index: -1;
}

.step-icon:first-child {
    transform: scale(1.2); /* بزرگتر شدن آیکن اولین مرحله */
}

.step-icon:last-child {
    transform: scale(1.2); /* بزرگتر شدن آیکن آخرین مرحله */
}
.step-content{
	padding: 21px;
    font-family: 'DanaFaNum-Bold';
}

/*-------استایل مرحله اول----------*/

.step-content {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.status-pending {
    color: #ff9800;
}

.status-completed {
    color: #4caf50;
}

.status-rejected {
    color: #f44336;
}

.notes {
    font-style: italic;
    color: #555;
}

.payment-options {
    margin-top: 20px;
}

.payment-method-label {
    display: block;
    margin: 10px 0;
}

.receipt-upload {
    margin-top: 10px;
}

.submit-button {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #45a049;
}

.payment-success {
    color: #4caf50;
    margin-top: 10px;
}

.payment-error {
    color: #f44336;
    margin-top: 10px;
}


/*-------استایل مرحله دوم---------*/
/* استایل کلی برای محتوا */
.step-content {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.step-content h4 {
    font-size: 26px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.step-content h5 {
    font-size: 22px;
    color: #34495e;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* استایل جدول */
.form-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	font-family: 'DanaFaNum-Bold';
}

.form-table th, .form-table td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    text-align: right;
}

.form-table th {
    background-color: #3498db;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.form-table td {
    background-color: #f9f9f9;
    color: #555;
    font-size: 14px;
}

.form-table tr:hover td {
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
}

/* استایل دکمه‌ها */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.upload-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2ecc71;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-button:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* استایل فیلد آپلود */
.document-upload {
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-right: 10px;
    font-size: 14px;
    width: 200px;
    transition: border-color 0.3s ease;
}

.document-upload:focus {
    border-color: #3498db;
    outline: none;
}

/* استایل پیام‌های خطا */
span[style="color: red;"] {
    color: #e74c3c !important;
    font-weight: 600;
}

/* استایل چک‌باکس */
input[type="checkbox"] {
    transform: scale(1.3);
    margin: 0;
    accent-color: #3498db;
    cursor: pointer;
}

/* استایل برای وضعیت‌ها */
.status-approved {
    color: #2ecc71;
    font-weight: 600;
}

.status-pending {
    color: #f1c40f;
    font-weight: 600;
}

.status-rejected {
    color: #e74c3c;
    font-weight: 600;
}


/*----استایل مرحله سوم----*/
.status-waiting {
    color: #ff9800; /* نارنجی */
}

.status-sent {
    color: #2196f3; /* آبی */
}

.status-waiting-test {
    color: #9c27b0; /* بنفش */
}

.status-completed {
    color: #4caf50; /* سبز */
}

.status-default {
    color: #000; /* سیاه */
}



/*------استایل مرحله چهارم------*/
.status-waiting {
    color: #ff9800; /* نارنجی */
}

.status-received {
    color: #2196f3; /* آبی */
}

.status-approved {
    color: #4caf50; /* سبز */
}

.status-rejected {
    color: #f44336; /* قرمز */
}

.status-default {
    color: #000; /* سیاه */
}

/*-----------استایل مرحله پنجم--------------*/
.status-waiting {
    color: #ff9800; /* نارنجی */
}

.status-approved {
    color: #4caf50; /* سبز */
}

.status-rejected {
    color: #f44336; /* قرمز */
}

.status-not-accepted {
    color: #9c27b0; /* بنفش */
}

.status-completed {
    color: #2196f3; /* آبی */
}

.status-default {
    color: #000; /* سیاه */
}

/*-----استایل مرحله ششم------*/
.status-waiting {
    color: #ff9800; /* نارنجی */
}

.status-approved {
    color: #4caf50; /* سبز */
}

.status-completed {
    color: #2196f3; /* آبی */
}

.status-default {
    color: #000; /* سیاه */
}

/*------استایل مرحله هفتم---------------*/
.status-waiting {
    color: #ff9800; /* نارنجی */
}

.status-rejected {
    color: #f44336; /* قرمز */
}

.status-approved {
    color: #4caf50; /* سبز */
}

.status-completed {
    color: #2196f3; /* آبی */
}

.status-default {
    color: #000; /* سیاه */
}


/*------استایل مرحله هشتم--------*/
.status-waiting {
    color: #ff9800; /* نارنجی */
}

.status-approved {
    color: #4caf50; /* سبز */
}

.status-rejected {
    color: #f44336; /* قرمز */
}

.status-completed {
    color: #2196f3; /* آبی */
}

.status-default {
    color: #000; /* سیاه */
}

/* استایل فرم آپلود فیش پرداختی */
.upload-form {
    margin-top: 10px;
}

.upload-form input[type="file"] {
    margin-bottom: 10px;
}

.upload-form button {
    background-color: #0073e6;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.upload-form button:hover {
    background-color: #005bb5;
}

.upload-success {
    margin-top: 10px;
    padding: 10px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
}

.upload-error {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
}
