﻿/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
    height: 64px;
}

.dark-style .menu .app-brand.demo {
    height: 64px;
}

.app-brand-logo.demo {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-flexbox;
    display: flex;
    width: 30px;
    height: 30px;
}

    .app-brand-logo.demo svg {
        width: 1.7rem;
        height: 1.7rem;
    }

.app-brand-text.demo {
    font-size: 1.75rem;
    letter-spacing: -0.45px;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
    display: block !important;
}

.demo-inline-spacing > * {
    margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir='rtl'] .rtl-only {
    display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}

.layout-demo-placeholder img {
    width: 900px;
}

.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}
@media (max-width: 576px) {
    .bs-stepper.vertical .bs-stepper-header .step .step-trigger,
    .bs-stepper .bs-stepper-header .step .step-trigger {
        padding: 0.5rem !important;
        flex-wrap: wrap !important;
    }
}
@media (max-width: 576px) {
    .bs-stepper.wizard-vertical .bs-stepper-header {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .bs-stepper.wizard-vertical .step {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

        .bs-stepper.wizard-vertical .step .step-trigger {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0.5rem;
            border: none;
            background-color: transparent;
        }

    .bs-stepper.wizard-vertical .bs-stepper-circle {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: #ddd;
    }

    .bs-stepper.wizard-vertical .bs-stepper-label {
        margin-top: 0.25rem;
        font-size: 0.8rem;
    }

    .bs-stepper.wizard-vertical .line {
        display: none !important;
    }
}
#toggleAdvancedSection {
    display: flex;
    align-items: center;
    font-weight: bold;
    justify-content: center;
    margin-bottom: 15px;
}

    #toggleAdvancedSection:hover {
        color: #0056b3;
    }

#toggleIcon {
    margin-right: 8px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

    #toggleIcon.rotated {
        transform: rotate(180deg);
    }

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
#custom-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #d1f7e0;
    color: #1e8e3e;
    border: 1px solid #a0e3bb;
    border-radius: 8px;
    min-width: 300px;
    max-width: 450px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    display: none;
    animation: slideIn 0.4s ease forwards;
}

.alert-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#custom-alert .icon {
    font-size: 20px;
}

#custom-alert .close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #1e8e3e;
}

.alert-progress {
    height: 4px;
    background-color: #1e8e3e;
    width: 100%;
    transition: width 5s linear;
    margin-top: 8px;
    border-radius: 2px;
}

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.btn-submit-step1 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px; /* فونت دیفالت حفظ می‌شود */
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    transition: background-color 0.3s ease;
}

    .btn-submit-step1:hover {
        background-color: #4CAF50; /* تغییر رنگ دکمه هنگام hover */
    }

    .btn-submit-step1 .bx {
        font-size: 20px; /* سایز آیکون */
        margin-left: 8px; /* فاصله بین آیکون و متن */
        transition: transform 0.3s ease;
    }

    .btn-submit-step1:hover .bx {
        transform: scale(1.1); /* بزرگتر شدن آیکون هنگام hover */
    }



.custom-option-sm {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 120px;
    cursor: pointer;
    background-color: #fff;
}

    .custom-option-sm:hover {
        background-color: #f9f9f9;
        border-color: #28a745;
    }

.custom-option-title {
    font-size: 16px;
    font-weight: 600;
}

.form-check-input {
    width: 18px;
    height: 18px;
}

.keyword-box {
    background-color: #e6f0fe; /* آبی خیلی روشن پس زمینه */
    color: #3b82f6; /* آبی جذاب و مدرن */
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    text-align: center;
    border: 1px solid #3b82f6; /* حاشیه هم آبی جذاب */
}

.keyword-text {
    white-space: nowrap;
}

h5 {
    font-weight: bold;
    color: #333;
}


.carousel-item {
    background-color: #fff !important;
    color: #222 !important;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    min-height: 220px;
    text-align: center;
}

.carousel-title {
    font-weight: bold;
    font-size: 20px;
    color: #222 !important;
    text-align: center;
    margin-top: 40px; /* برای اینکه زیر عدد قرار بگیره */
}

.carousel-content {
    font-size: 16px;
    color: #333 !important;
    text-align: justify;
    margin-top: 10px;
    white-space: pre-line;
    line-height: 1.8;
}

.slide-number {
    background-color: #e0e0e0;
    color: #222 !important;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}
.slide-number-box {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.carousel .carousel-control-prev-icon,
.carousel .carousel-control-next-icon {
    filter: invert(100%);
}

.swal2-container.swal2-top-end {
    z-index: 99999 !important;
}

.custom-toast {
    font-family: 'Vazir', sans-serif;
    font-size: 14px;
}

.usage-warning {
    display: none;
    margin-top: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    background-color: #fff3cd;
    color: #856404;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

/* نمایش هشدار در حالت هاور روی دکمه */
.build-button-wrapper:hover .usage-warning {
    display: block;
}

/* در موبایل همیشه نمایش داده شود */
@media (max-width: 768px) {
    .usage-warning {
        display: block !important;
        white-space: normal; /* شکستن متن در موبایل */
        max-width: 100vw;
        box-sizing: border-box;
    }
}

.pricing-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 1rem;
    color: #333;
}

.pricing-container h2 {
    text-align: center;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.pricing-container p {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 3rem;
}

.pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 1.8rem;
}

.option-card {
    border: 1.3px solid #ddd;
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    background-color: #fff;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

    .option-card:hover {
        border-color: #3b82f6;
        box-shadow: 0 8px 20px rgb(59 130 246 / 0.15);
    }

.option-header {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
    color: #111;
}

.option-subtitle {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.4rem;
}

.price-badge {
    display: inline-block;
    background-color: #3b82f6;
    color: #fff;
    font-weight: 600;
    font-size: 1.4rem;
    padding: 0.3rem 0.9rem;
    border-radius: 10px;
    margin-bottom: 0.6rem;
}

.charge-info {
    font-size: 0.85rem;
    color: #16a34a;
    margin-bottom: 1.5rem;
}

.buy-btn {
    width: 100%;
    padding: 0.55rem 0;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background-color: #3b82f6;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .buy-btn:hover {
        background-color: #2563eb;
    }
.list-inline-item i {
    transition: color 0.3s ease;
    cursor: default;
}

.list-inline-item:hover i {
    color: #ff6f61; /* رنگ قرمز ملایم روی هاور */
    cursor: pointer;
}
