@import url('../font/kalameh/font.css');
@import url('../font/cinema/font.css');
@import url('../font/combo/font.css');

body {
    font-family: var(--font-family) !important;
    margin: 0;
    padding: 0;
    /* حداقل ارتفاع برابر با ارتفاع صفحه */
    display: flex;
    flex-direction: column;
}

@media only screen and (min-width: 767px) {
    body {
        max-width: 600px;
        margin: 0 auto;
    }
}

.wrapper {
    min-height: 100vh;
    padding: 36px 12px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bg-normal {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-fixed {
    background-size: cover;
    /* تصویر کل صفحه را پوشش دهد */
    background-attachment: fixed;
    /* پس‌زمینه ثابت بماند */
    background-position: center bottom;
    /* تصویر در مرکز قرار گیرد */
}

.bg-img-1 {
    background-image: url('../image/background.png');
}

.bg-img-2 {
    background-image: url('../image/background-2.jpg');
}

.bg-color-04 {
    background-color: var(--color-04);
}

.ltr {
    direction: ltr;
}

.text-justify {
    text-align: justify;
}

.color-01 {
    color: var(--color-01);
}

.color-02 {
    color: var(--color-02);
}

.color-03 {
    color: var(--color-03) !important;
}

.color-light {
    color: var(--color-light);
}

.h1 {
    font-size: var(--font-size-h1);
    line-height: var(--line-height-h1);
    letter-spacing: var(--letter-spacing);
}

.h2 {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
    letter-spacing: var(--letter-spacing);
}

.h3 {
    font-size: var(--font-size-h3);
    line-height: var(--line-height-h3);
    letter-spacing: var(--letter-spacing);
}

.b1 {
    font-size: var(--font-size-b1);
    line-height: var(--line-height-b1);
    letter-spacing: var(--letter-spacing);
}

.b2 {
    font-size: var(--font-size-b2);
    line-height: var(--line-height-b1);
    letter-spacing: var(--letter-spacing);
}

.c1 {
    font-size: var(--font-size-c1);
    line-height: var(--line-height-c1);
    letter-spacing: var(--letter-spacing);
}

.title-font {
    font-family: var(--font-family-title);
}

.font-en {
    font-family: var(--font-family-en);
}

.text-white-40 {
    color: rgba(255, 255, 255, 0.4);
    /* سفید با 40% شفافیت */
}

.text-00 {
    color: var(--color-00);
}

.text-01 {
    color: var(--color-01);
}

.text-02 {
    color: var(--color-02);
}

.text-g-02 {
    /* تعریف گرادینت خطی */
    background-image: linear-gradient(to left, var(--color-g-02), var(--color-02));

    /* اعمال گرادینت به متن */
    background-clip: text;

    /* برای مرورگرهای مبتنی بر WebKit مانند Safari */
    -webkit-background-clip: text;

    /* متن را شفاف کنید تا گرادینت دیده شود */
    color: transparent;
}

.h1-g02 {
    font-size: var(--font-size-h1);
    line-height: var(--line-height-h1);

    /* تعریف گرادینت خطی */
    background-image: linear-gradient(to left, var(--color-g-02) 5%, var(--color-02) 70%);

    /* اعمال گرادینت به متن */
    background-clip: text;

    /* برای مرورگرهای مبتنی بر WebKit مانند Safari */
    -webkit-background-clip: text;

    /* متن را شفاف کنید تا گرادینت دیده شود */
    color: transparent;
    letter-spacing: var(--letter-spacing);
}

.h3 {
    font-size: var(--font-size-h3);
    line-height: var(--line-height-h3);
}

.g02 {
    /* تعریف گرادینت خطی */
    background-image: linear-gradient(to left, var(--color-g-02) 5%, var(--color-02) 70%);

    /* اعمال گرادینت به متن */
    background-clip: text;

    /* برای مرورگرهای مبتنی بر WebKit مانند Safari */
    -webkit-background-clip: text;

    /* متن را شفاف کنید تا گرادینت دیده شود */
    color: transparent;
    letter-spacing: var(--letter-spacing);
}

.bi::before {
    vertical-align: middle;
}

.box {
    position: relative;
    padding: 12px;
    background: transparent;
    /* رنگ با شفافیت */
    backdrop-filter: blur(10px);
    /* محوشدگی روی پس‌زمینه */
    -webkit-backdrop-filter: blur(10px);
    /* برای مرورگرهای قدیمی */
    border: 2px solid var(--color-light);
    /* یک حاشیه برای تأکید بیشتر */
    border-radius: 32px;
    /* گوشه‌های گرد */
    overflow: hidden;
    /* برای جلوگیری از خروج افکت خارج از محدوده */
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    /* رنگ پس‌زمینه با شفافیت */
    backdrop-filter: blur(10px);
    /* اعمال blur به پس‌زمینه */
    z-index: -1;
    /* قرار دادن لایه پس‌زمینه در پشت محتوا */
}

.box .accordion-item {
    background-color: transparent;
    color: inherit;
}

.box .accordion-item .accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    box-shadow: none;
    color: inherit;
}

.box .accordion-item .accordion-button::after {
    margin: unset !important;
    background-color: var(--color-02);
    /* background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708"/></svg>'); */
    mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" stroke="currentColor" stroke-width="1" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708"/></svg>');
    mask-repeat: no-repeat;
}

.form-label {
    font-size: var(--font-size-b2);
    line-height: var(--line-height-b2);
    letter-spacing: var(--letter-spacing);
    margin-top: 24px;
}

.form-control,
.form-select {
    width: 100%;
    height: 75px;
    border-radius: 20px !important;
    padding: 21px 24px;
    font-size: var(--font-size-b2);
    line-height: var(--line-height-b1);
    border: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.form-control:focus,
.form-select:focus {
    outline: 0;
    box-shadow: none !important;
    color: inherit;
}

.select2-container {
    width: 100 !important;
}

.select2-container--default .select2-selection--single {
    height: 50px;
    border-radius: 8px !important;
    border: none;
    background-color: rgba(255, 255, 255, 0.8);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

.select2-container--default .select2-selection--single::after {
    content: "\F282";
    /* آیکون فلش پایین در Bootstrap Icons */
    font-family: "bootstrap-icons";
    /* استفاده از فونت Bootstrap Icons */
    font-weight: normal;
    /* وزن فونت معمولی برای Bootstrap Icons */
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6c757d;
}

.select2-dropdown {
    border-radius: 8px !important;
    border: 1px solid var(--color-04);
    transition: top .3s ease-in-out;
}

.select2-container--open .select2-dropdown {
    top: 2px;
}

.select2-search--dropdown .select2-search__field {
    border-radius: 8px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    outline: none;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--color-g-02);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
}

.form-textarea {
    min-height: 230px !important;
}

.button-custom {
    position: relative;
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    border: none;
    margin-top: 24px;
    font-size: var(--font-size-cta);
    line-height: var(--line-height-cta);
    color: var(--color-light);
    padding: 0 24px;
    text-align: center;
}

.button-light {
    background: rgba(var(--color-light-rgb) 0.5);
    border: 2px solid var(--color-light);
    backdrop-filter: blur(15px);
    border-radius: 50px;
}

.button-01 {
    color: var(--color-01);
}

.button-circular {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    border-radius: 100%;
}

.button-custom_text {
    /* position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); */

    /* flex-grow: 1 */
}

.button-custom_icon {
    /* margin-right: auto; */
    margin-top: 2px;
    font-size: var(--font-size-h2);
}

.left--icon {
    left: 20px;
}

.right--icon {
    right: 20px;
}

.button-circular .button-custom_icon {
    margin-top: 0;
}

.bg-g-01 {
    background: linear-gradient(190deg, var(--color-00), var(--color-g-01));
}

.bg-g-02 {
    background: linear-gradient(190deg, var(--color-g-02), var(--color-02));
}

.otp-input.error {
    border: 2px solid var(--color-00);
}

.error-message {
    display: none;
}

.hexagon {
    width: 20px;
    height: 20px;
    background-color: var(--color-01);
    /* رنگ پس‌زمینه */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    /* ایجاد شکل شش‌ضلعی */
    -webkit-mask: radial-gradient(circle at center, transparent 0%, transparent 70%, var(--color-01) 70%);
    /* ایجاد گوشه‌های گرد */
    mask: radial-gradient(circle at center, transparent 0%, transparent 70%, var(--color-01) 70%);
    /* ایجاد گوشه‌های گرد */
}

.hexagon i {
    color: var(--color-light);
    /* رنگ آیکون */
}

.upload-container {
    position: relative;
    text-align: center;
    margin-top: 20px;
}

.upload-button_icon {
    margin-top: 5px;
    font-size: var(--font-size-h2);
}

.upload-button {
    position: relative;
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    text-align: center;
    color: var(--color-00);
    cursor: pointer;
}

.upload-button:focus {
    color: var(--color-00);
}

.upload-button.disabled {
    color: var(--color-04);
}

.icon {
    margin-right: 10px;
}

.video-preview {
    position: relative;
}

.image-preview,
.video-preview {
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 100%;
    border: 1px solid var(--color-light);
    border-radius: 20px;
    overflow: hidden;
}

.video-preview video {
    border-radius: 20px;
}

.image-preview img,
.video-preview video {
    width: fit-content;
    height: auto;
    max-height: inherit;
}

.upload-container .close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 30px;
    height: 30px;
    top: 4px;
    left: 4px;
    border-radius: 8px;
    background-color: var(--color-light);
    color: var(--color-00);
    font-size: var(--font-size-b2);
    padding-top: 4px;
    cursor: pointer;
}

.progress-container {
    display: none;
    direction: ltr;
    position: relative;
    width: 100%;
    height: 75px;
    background-color: rgba(var(--color-light-rgb), 0.5);
    border: 2px solid var(--color-03);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    width: 50%;
    height: 100%;
    background-color: rgba(var(--color-03-rgb), 0.5);
    transition: width 0.3s;
}

.progress-meta {
    position: absolute;
    z-index: 999;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-03);
}

.progress-text {
    font-size: var(--font-size-cta);
}

.loading-text {
    font-size: var(--font-size-b1);
}

.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s, visibility 0.5s;
}

.status-message {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    text-align: center;
}

.toast.show {
    visibility: visible;
    opacity: 1;
}

#record-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

#visualizer {
    margin-top: 20px;
    border: 1px solid #ccc;
}

#time-display {
    margin-top: 10px;
    font-size: 18px;
}

/* Audio player style start */
.audio-player {
    position: relative;
    width: 100%;
}

.audio-player .title {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 40px;
    text-align: center;
}

.audio-progress-container {
    width: 100%;
    height: 75px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    direction: ltr;
}

.audio-player.playing .audio-progress-container {
    border: 2px solid var(--color-03);
}

.audio-progress-bar {
    width: 0%;
    height: 100%;
    background-color: rgba(var(--color-03-rgb), .99);
    transition: width 0.1s;
}

.audio-player .controls {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.audio-player .controls.right {
    left: 100%;
    right: 0;
}

.audio-player .button-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.audio-player .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-04);
    font-size: 16px;
    white-space: nowrap;
}

.audio-player.playing .title {
    color: var(--color-03);
}

.audio-player .image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.audio-player .time-display {
    position: absolute;
    top: 0;
    left: 10px;
    display: flex;
    align-items: center;
    height: 100%;
    color: var(--color-03);
    font-size: var(--font-size-b1);
}

.audio-player .button-play-pause,
.voice-player .button-play-pause {
    background-color: transparent;
    color: var(--color-04);
    border: none;
    padding: 0;
    cursor: pointer;
}

.audio-player.playing .button-play-pause {
    color: var(--color-03);
}

.audio-player .button-play-pause i,
.voice-player .button-play-pause i {
    font-size: var(--font-size-h2);
}

/* Audio player style end */


.hidden-element {
    height: 0;
    opacity: 0;
    /* ابتدا مخفی است */
    visibility: hidden;
    /* المنت را از صفحه‌بندی حذف می‌کند */
    transition: opacity 0.5s ease, visibility 0.5s ease;
    /* افکت fade-in */
}

.hidden-element.visible {
    height: auto;
    opacity: 1;
    /* نمایش المنت */
    visibility: visible;
    /* المنت را در صفحه‌بندی نشان می‌دهد */
}

/* استایل‌های پایه برای چک‌باکس کاستوم */
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
    color: var(--color-g-02);
    transition: color 0.3s ease;
    /* افکت تغییر رنگ متن */
}

/* تغییر رنگ متن وقتی چک‌باکس تیک خورد */
.custom-checkbox .private-checkbox:checked~span.checkmark+span {
    color: var(--color-02);
    /* رنگ متن وقتی تیک خورد */
}

/* مخفی کردن چک‌باکس پیش‌فرض */
.custom-checkbox .private-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* ایجاد چک‌باکس کاستوم */
.checkmark {
    position: relative;
    height: 25px;
    width: 25px;
    background-color: var(--color-light);
    color: var(--color-02);
    border-radius: 5px;
    margin-left: 8px;
    transition: background-color 0.3s, border-color 0.3s;
}

.checkmark i {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -48%);
    font-size: 20px;
    font-weight: bold !important;
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease-in-out;
}

/* وقتی چک‌باکس تیک خورد */
.custom-checkbox .private-checkbox:checked~.checkmark i {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background: rgba(var(--color-light-rgb), 0.75);
    border: 2px solid var(--color-light);
    backdrop-filter: blur(15px);
    border-radius: 32px;
}

.modal-footer {
    border: none;
}

#hiddenBlock {
    overflow: hidden;
    height: 0;
    transition: height 0.5s ease-out;
}

#hiddenBlock.show {
    height: auto;
    display: flex;
    flex-direction: column;
}

/* استایل کلی برای دکمه و دایره‌ها */
.button-container {
    position: relative;
    width: 75px;
    height: 75px;
}

.button-container button {
    z-index: 99;
}

/* دایره‌های توخالی */
.pulse-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* border دایره‌ها */
    z-index: 1;
    transform: scale(1);
    opacity: 1;
    animation: pulse 2s infinite;
    box-sizing: border-box;
    /* اطمینان از محاسبه border در اندازه کلی */
}

/* تأخیر برای دایره‌ها */
.pulse-circle-1 {
    animation-delay: 0s;
    border: 2px solid var(--color-light);

}

.pulse-circle-2 {
    animation-delay: 1s;
    border: 1px solid var(--color-light);

}

/* انیمیشن برای باز شدن دایره‌ها */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* مخفی کردن کنترل‌های پیش‌فرض ویدیو در مرورگرهای WebKit */
.video-player::-webkit-media-controls {
    /* display: none !important; */
}

.video-player {
    width: 100%;
    display: block;
    border-radius: 20px;
    border: 1px solid var(--color-light);
}

.video-container .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer; */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: transparent;
    color: var(--color-light);
    border: none;
    padding: 10px;
    cursor: pointer;
}

.video-playing .play-button {
    display: none;
}

.video-container .play-button i {
    font-size: var(--font-size-h2);
}

/* استایل کلی گالری */
.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* باکس نمایش عکس بزرگ */
.main-image-box {
    width: 100%;
    height: 300px;
    border: 2px solid var(--color-light);
    border-radius: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.main-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main-image-box img.fade-in {
    opacity: 1;
}

/* ردیف‌های thumbnail */
.thumbnail-row {
    /* display: flex; */
    /* justify-content: space-between; */
    row-gap: 10px;
    width: 100%;
    direction: ltr;
}

/* استایل thumbnail */
.thumbnail {
    width: 72px;
    height: 60px;
    object-fit: cover;
    border: 1px solid var(--color-light);
    border-radius: 10px;
    cursor: pointer;
    transition: filter 0.3s ease;
    filter: grayscale(100%);
}

.thumbnail.active,
.thumbnail:hover {
    filter: grayscale(0%);
}

.folders,
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.folders button {
    padding: 10px 20px;
    font-size: 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.folders button:hover {
    background: #0056b3;
}

.gallery img {
    width: 72px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s;
}

.gallery img:hover {
    transform: scale(1.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.upload-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-form input {
    padding: 10px;
    margin-bottom: 10px;
    width: 200px;
}

.upload-form button {
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.upload-form button:hover {
    background: #218838;
}

.logout-btn {
    padding: 10px 20px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.logout-btn:hover {
    background-color: #c82333;
}









.voice-player,
#video-player {
    display: none;
    position: relative;
    width: 100%;
    max-height: 75px;
    border: 2px solid var(--color-03);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
}

.voice-player .canvases,
.canvases>div,
.canvases canvas {
    min-height: 75px !important;
    height: 75px !important;
}

.voice-player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 10px;
    z-index: 99;
}

.voice-player-controls .button-close {
    background: var(--color-light);
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-player-controls .player-timer {
    position: relative;
    top: -20px;
}

#audio-waveform,
#video-waveform {
    width: 100%;
    height: 75px;
}

.voice-player-waveform {
    width: 100%;
}

/* #video-preview {
    width: 100%;
    max-width: 400px;
    margin-top: 10px;
} */

.audio-recorder {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.audio-recorder .controls {
    /* position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    height: 100%; */
}

.image-preview-container,
.video-preview-container {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.image-preview-container img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid;
}

/* استایل برای نشانگرهای قبلی و بعدی */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s;
    user-select: none;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* دکمه بستن */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.message {
    font-size: var(--font-size-b2);
    line-height: var(--line-height-b2);
    letter-spacing: var(--letter-spacing);
    margin-top: .75rem;
}

.msg-error {
    color: var(--color-00);

}

.msg-success {
    color: var(--color-success);
}

.category-giftland {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 20px 0 100px;
    max-width: 1100px;
    margin: auto
}

.category-giftland .category {
    flex: 0 0 calc(25% - 10px);
    max-width: 250px;
    /* min-width: 150px; */
    min-width: 120px;
    position: relative;
    overflow: hidden;
    border-radius: 10%;
    cursor: pointer;
    transition: all .3s;
    margin: 10px
}

.category-giftland .category:before {
    content: "";
    float: left;
    padding-top: 100%
}

.category-giftland .category:hover {
    transform: scale(1.05)
}

.category-giftland .category .title {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    margin-top: 5px
}

.category-giftland .category .icon-cover {
    width: 40%;
    height: 40%;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-giftland .category .icon-cover picture {
    filter: invert(1);
    width: 60%;
    height: 60%
}

.category-giftland .category .icon-cover picture img {
    width: 100%;
    height: 100%
}

.category-giftland .category .cover {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all .3s;
}

.category-theme-1 {
    background-color: #FF6F61;
}

.category-theme-2 {
    background-color: #FFA500;
}

.category-theme-3 {
    background-color: #F0E68C;
}

.category-theme-4 {
    background-color: #32CD32;
}

.category-theme-5 {
    background-color: #0073E6;
}

.category-theme-6 {
    background-color: #FF1493;
}

.category-theme-7 {
    background-color: #FF4500;
}

.category-theme-8 {
    background-color: #1E90FF;
}

.category-theme-9 {
    background-color: #4B0082;
}

.choose-button {
    font-size: 16px;
    padding: 12px;
    border-radius: 16px;
    height: 40px;
    background: linear-gradient(190deg, var(--color-success), var(--color-success-dark));
}

.choose-button .button-custom_icon {
    font-size: 18px;
    left: 10px;
}

@media screen and (max-width: 480px) {
    .choose-button .button-custom_icon {
        display: none;
    }
}

video {
    max-width: 100%;
}

.pagination {
    display: flex;
    justify-self: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 20px;
}

/* .page-item:first-child .page-link {
    border-radius: 0 .375rem .375rem 0 !important;
}

.page-item:last-child .page-link {
    border-radius: .375rem 0 0 .375rem !important;
} */

.page-link {
    color: var(--color-02);
    border-radius: .375rem !important;
}

.page-link:hover {
    color: var(--color-02);
}

.active>.page-link,
.page-link.active {
    background-color: var(--color-02);
    border-color: var(--color-02);
}

table thead tr th {
    text-align: center;
}

table thead tr:first-child th:first-child {
    border-radius:  0 8px 0 0;
}

table thead tr:first-child th:last-child {
    border-radius:  8px 0 0 0;
}

@media only screen and (min-width: 400px) {
    .wrapper {
        padding: 36px 24px 24px;
    }

    .box {
        padding: 24px;
    };
}

.wrapper {
    display: -ms-flexbox;
    display: box;
    display: flex;
    -o-box-align: center;
    align-items: center;
    -o-box-pack: center;
    justify-content: center;
    -o-box-orient: vertical;
    flex-direction: column;
    height: 100%;
  }
  .green {
    margin-top: 15px;
  }
  .green .progress,
  .red .progress,
  .orange .progress {
    position: relative;
    border-radius: 50%;
  }
  .green .progress,
  .red .progress,
  .orange .progress {
    width: 150px;
    height: 150px;
  }
  .green .progress {
    border: 5px solid var(--color-02);
  }
  .green .progress {
    box-shadow: 0 0 20px var(--color-02);
  }
  .green .progress,
  .red .progress,
  .orange .progress {
    transition: all 1s ease;
  }
  .green .progress .inner,
  .red .progress .inner,
  .orange .progress .inner {
    position: absolute;
    overflow: hidden;
    z-index: 2;
    border-radius: 50%;
  }
  .green .progress .inner,
  .red .progress .inner,
  .orange .progress .inner {
    width: 140px;
    height: 140px;
  }
  .green .progress .inner,
  .red .progress .inner,
  .orange .progress .inner {
    border: 5px solid var(--color-04);
  }
  .green .progress .inner,
  .red .progress .inner,
  .orange .progress .inner {
    transition: all 1s ease;
  }
  .green .progress .inner .water,
  .red .progress .inner .water,
  .orange .progress .inner .water {
    position: absolute;
    z-index: 1;
    width: 200%;
    height: 200%;
    left: -50%;
    border-radius: 40%;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-name: spin;
    animation-name: spin;
  }
  .green .progress .inner .water {
    top: 25%;
  }
  .green .progress .inner .water {
    background: rgba(83,252,83,0.5);
  }
  .green .progress .inner .water,
  .red .progress .inner .water,
  .orange .progress .inner .water {
    transition: all 1s ease;
  }
  .green .progress .inner .water,
  .red .progress .inner .water,
  .orange .progress .inner .water {
    -webkit-animation-duration: 10s;
    animation-duration: 10s;
  }
  .green .progress .inner .water {
    box-shadow: 0 0 20px #03bc03;
  }
  .green .progress .inner .glare,
  .red .progress .inner .glare,
  .orange .progress .inner .glare {
    position: absolute;
    top: -120%;
    left: -120%;
    z-index: 5;
    width: 200%;
    height: 200%;
    transform: rotate(45deg);
    border-radius: 50%;
  }
  .green .progress .inner .glare,
  .red .progress .inner .glare,
  .orange .progress .inner .glare {
    background-color: rgba(255,255,255,0.15);
  }
  .green .progress .inner .glare,
  .red .progress .inner .glare,
  .orange .progress .inner .glare {
    transition: all 1s ease;
  }
  .green .progress .inner .percent,
  .red .progress .inner .percent,
  .orange .progress .inner .percent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-weight: bold;
    text-align: center;
  }
  .green .progress .inner .percent,
  .red .progress .inner .percent,
  .orange .progress .inner .percent {
    line-height: 140px;
    font-size: 36px;
  }
  .green .progress .inner .percent {
    color: #a30f0f;
  }
  .green .progress .inner .percent {
    text-shadow: 0 0 10px #029502;
  }
  .green .progress .inner .percent,
  .red .progress .inner .percent,
  .orange .progress .inner .percent {
    transition: all 1s ease;
  }
  .red {
    margin-top: 15px;
  }
  .red .progress {
    border: 5px solid #ed3b3b;
  }
  .red .progress {
    box-shadow: 0 0 20px #7a0b0b;
  }
  .red .progress .inner .water {
    top: 75%;
  }
  .red .progress .inner .water {
    background: rgba(237,59,59,0.5);
  }
  .red .progress .inner .water {
    box-shadow: 0 0 20px #9b0e0e;
  }
  .red .progress .inner .percent {
    color: #03c603;
  }
  .red .progress .inner .percent {
    text-shadow: 0 0 10px #08f11e;
  }
  .orange {
    margin-top: 15px;
  }
  .orange .progress {
    border: 5px solid #f07c3e;
  }
  .orange .progress {
    box-shadow: 0 0 20px #7e320a;
  }
  .orange .progress .inner .water {
    top: 50%;
  }
  .orange .progress .inner .water {
    background: rgba(240,124,62,0.5);
  }
  .orange .progress .inner .water {
    box-shadow: 0 0 20px #a0400c;
  }
  .orange .progress .inner .percent {
    color: #a8430d;
  }
  .orange .progress .inner .percent {
    text-shadow: 0 0 10px #7e320a;
  }
  .instructions {
    display: inline-block;
    margin: 5px 0;
    font-size: 16px;
  }
  @-webkit-keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }