﻿.text-caption {
    font-size: 0.875rem; /* کوچک اما خوانا */
    line-height: 1.8;
    color: #6c757d; /* خاکستری استاندارد Bootstrap */
    text-align: justify;
    direction: rtl;
}

    .text-caption a {
        font-size: inherit; /* کوچک اما خوانا */
        line-height: inherit;
        text-align: inherit;
        direction: inherit;
    }

.terms {
    margin-top: 1rem;
}

/*user profile*/
.profile-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    padding: 20px;
}

.profile-avatar {
    width: 80px;
    border-radius: 50%;
}

.profile-name {
    font-weight: bold;
}

.profile-link {
    color: #212529;
    text-decoration: none;
    border-radius: 0px;
    transition: all 0.3s;
}

    .profile-link i {
        font-size: 18px;
    }

    .profile-link:hover {
        background-color: #edf7ed; /*#f2f2f2;*/
        color: #007bff;
    }

    .profile-link.active {
        background-color: rgb(0, 139, 249);
        color: #fff;
    }

.logout-link {
    color: #e74c3c;
}

    .logout-link:hover {
        background-color: #fceae9;
        color: #c0392b;
    }
/*user profile*/
.swal2-modal .swal2-title {
    font-size: 22px;
    text-transform: none;
}

.swal2-content, .swal2-buttonswrapper button {
    font-family: IranSans;
}

.swal2-buttonswrapper button {
    -webkit-border-radius: 25px !important;
    border-radius: 25px !important;
    padding: 6px 32px !important;
    outline: none;
    height: 40px;
}

    .swal2-buttonswrapper button:active, .swal2-buttonswrapper button:focus {
        outline: none;
    }

.swal2-container {
    direction: ltr
}

.swal2-modal {
    direction: rtl;
    border-radius: 0;
}

/* استایل Dropzone سفارشی */
/*.custom-dropzone {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #ced4da;
    border-radius: 10px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 20px;
    text-align: center;
}

    .custom-dropzone:hover {
        background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
        border-color: #6c757d;
        transform: translateY(-2px);
    }

    .custom-dropzone.dz-drag-hover {
        background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
        border-color: #0dcaf0 !important;
        border-width: 3px;
    }

    .custom-dropzone .dz-message {
        margin: 0;
        color: #6c757d;
    }

        .custom-dropzone .dz-message i {
            font-size: 48px;
            margin-bottom: 10px;
            display: block;
        }*/







/* استایل پایه Dropzone */
/*.dropzone {
    border: 2px dashed #dee2e6 !important;
    border-radius: 10px;
    background: #f8f9fa;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dropzone:hover {
        border-color: #0d6efd !important;
        background: #e7f1ff;
    }

    .dropzone .dz-message {
        color: #6c757d;
        font-weight: normal;
        margin: 0;
    }*/

/* پیش‌نمایش فایل */
/*.dz-preview {
    position: relative;
    display: inline-block;
    margin-top: 20px;
    vertical-align: top;
}

.dz-image {
    border-radius: 8px;
    overflow: hidden;
    width: 120px;
    height: 120px;
    position: relative;
    display: block;
    margin: 0 auto;
}

    .dz-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }*/

/* آواتار دایره‌ای */
/*#avatarDropzone + #avatarPreviewContainer .dz-image {
    border-radius: 50%;
}*/

/* پاسپورت مستطیل */
/*#passportDropzone + #passportPreviewContainer .dz-image {
    width: 180px;
    height: 120px;
}

.dz-details {
    padding: 8px 0;
    font-size: 13px;
    text-align: center;
}

.dz-filename {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
    margin: 0 auto;
}

.dz-size {
    color: #6c757d;
    font-size: 12px;
    margin-top: 4px;
}*/

/* نوار پیشرفت */
/*.dz-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0,0,0,0.1);
    display: none;
}

.dz-upload {
    background: #0d6efd;
    display: block;
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}*/

/* در حال آپلود */
/*.dz-preview.dz-processing .dz-progress {
    display: block;
}*/

/* پیام خالی */
/*#avatarEmptyMessage, #passportEmptyMessage {
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
}*/

/* دکمه‌ها */
/*.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}*/

/* کانتینر پیش‌نمایش */
/*.dz-preview-container {
    min-height: 60px;
}*/










/* استایل پیش‌نمایش فایل Dropzone */
/*.dz-preview {
    position: relative;
    display: inline-block;
    margin: 10px;
    vertical-align: top;
}

.dz-image {
    border-radius: 8px;
    overflow: hidden;
    width: 120px;
    height: 120px;
    position: relative;
    display: block;
}

    .dz-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }*/

/* برای پاسپورت (مستطیل) */
/*#passportDropzone .dz-image {
    width: 180px;
    height: 120px;
}*/

/* برای آواتار (دایره) */
/*#avatarDropzone .dz-image {
    border-radius: 50%;
}

.dz-details {
    padding: 5px;
    font-size: 12px;
    text-align: center;
}

.dz-filename {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}

.dz-size {
    color: #6c757d;
    font-size: 11px;
}

.dz-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0,0,0,0.1);
    display: none;
}

.dz-upload {
    background: #0d6efd;
    display: block;
    height: 100%;
    width: 0%;
}

.dz-success-mark,
.dz-error-mark {
    display: none;
}

.dz-remove {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dc3545;
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

    .dz-remove:hover {
        background: #c82333;
        transform: scale(1.1);
    }*/

/* نمایش پیام خالی */
/*#avatarEmptyMessage, #passportEmptyMessage {
    padding: 20px;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    background: #f8f9fa;
}*/

/* کارت‌های فعال */
/*.card.active {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}*/