﻿.maingb {
    background: radial-gradient(30% 30% at 15% 25%, rgba(255, 187, 0, 0.18) 0%, rgba(255, 187, 0, 0) 100%), radial-gradient(20% 20% at 85% 50%, rgba(35, 65, 223, 0.1) 0%, rgba(35, 65, 223, 0) 100%), radial-gradient(120% 90% at 50% 70%, rgba(0, 143, 255, 0.15) 0%, rgba(0, 143, 255, 0) 70%) !important;
}
.m-container {
    max-width: 370px;
    margin: auto;
}

.searchbox {
    background-color: rgb(240, 240, 241);
    color: #a1a3a8;
}

.ballicon {
    width: 35px;
    height: 35px;
    background-color: rgb(240, 240, 241);
}

.tablink {
    padding: 5px !important;
}

.securbox {
    background-image: linear-gradient(to left, #f9c26e, #f57c00);
    position: relative;
    height: 75px;

}

    .securbox img {
        position: absolute;
        width: 110px;
        right: 0;
        top: -20px;
    }

    .securbox .captions,
    .infobox .captions {
        margin-right: 110px;
        height: 100%;
    }

.infobox {
    background-image: linear-gradient(to left, #40c4ff, #00aaff);
    position: relative;
    height: 75px;
}

    .infobox img {
        position: absolute;
        width: 96px;
        right: 4px;
        top: -20px;
    }
.vertical-divider {
    border-left: 1px solid #ccc;
    height: 20px;
    margin: auto 8px; /* فاصله از بالا و پایین */
}
/* Font Sizes */
.fonts-7 {
    font-size: 7px !important;
}

.fonts-9 {
    font-size: 9px !important;
}

.fonts-10 {
    font-size: 10px !important;
}

.fonts-12,
.table12 tr td,
.table12 tr th {
    font-size: 12px !important;
}

.fonts-13 {
    font-size: 13px !important;
}

.fonts-14,
.table14 tr td,
.table14 tr th {
    font-size: 14px !important;
}

.fonts-16 {
    font-size: 16px !important;
}

/* Colors */
.bgc-red {
    background-color: #FF4747 !important;
}

.textc-red {
    color: #FF4747 !important;
}

.bgc-purple {
    background-color: #7540EE !important;
}

.textc-purple {
    color: #7540EE !important;
}

.bgc-warning {
    background-color: #F4B512 !important;
}

.textc-warning {
    color: #F4B512 !important;
}

.bgc-orange {
    background-color: #FF7C21 !important;
}

.textc-orange {
    color: #FF7C21 !important;
}

.bgc-redl {
    background-color: #F95179 !important;
}

.textc-redl {
    color: #F95179 !important;
}

/* Special Item */
.specialitem {
    position: relative;
    height: 195px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

    .specialitem::before {
        content: "";
        position: absolute;
        top: -6px;
        left: -5px;
        width: 70px;
        height: 70px;
        background-image: url('../images/ribonleft.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: top left;
        z-index: 10;
    }

    .specialitem::after {
        content: "20%";
        position: absolute;
        top: 4px;
        left: 4px;
        transform: rotate(-45deg);
        font-size: 16px;
        font-weight: bold;
        color: white;
        z-index: 10;
        pointer-events: none;
    }

    .specialitem img {
        padding-top: 2px;
        width:60px;
    }

/* Table alignment */
.table th,
.table td,
.table-center {
    text-align: center;
    vertical-align: middle;
}

/* noUi Tooltip */
.noUi-horizontal .noUi-tooltip {
    bottom: -110% !important;
    font-size: 9px;
}
.top-item.active::after {
    content: "";
    width: 16px;
    height: 16px;
    background-color: white;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 0 0 4px 0;
    border-color: transparent #c4c8cb #c4c8cb transparent;
    border-style: solid;
    border-width: 1px;
    z-index: 2;
}

.top-item span {
    font-size: 13px;
    color: rgba(4, 10, 31, 0.87);
}

.top-item img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.top-item.active img {
    transform: scale(1.3);
}

.top-item img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.top-item.active img {
    transform: scale(2) translateY(-7px);
}

.filterbox {
    background: linear-gradient(180deg, rgba(61,112,244,0.95) 5%, rgba(6,162,255,1) 80%);
    border-radius: 5px 5px 0 0;
}


.mainitems {
    margin-top: -20px;
    border-radius: 18px 18px 0 0;
    background-color: #fff;
    padding: 10px;
}

.loanitem
{

}

.auth-wrap {
    max-width: 1120px;
    margin: 56px auto;
    position: relative;
}

/* کارت اصلی */
.auth-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .07);
    position: relative;
    padding-top: 50px;
}

/* آیکن دایره‌ای بالای کارت */
.hero-icon {
    position: absolute;
    inset-inline: 0;
    top: -55px;
    display: grid;
    place-items: center;
}

    .hero-icon .circle {
        width: 96px;
        height: 96px;
        border-radius: 999px;
        background: linear-gradient(90deg,#fff7f2,#f6f8fb);
        color: #AEBFCC;
        display: grid;
        place-items: center;
        box-shadow: 0 16px 36px rgba(242, 249, 255, .95);
        border: 6px solid #8C99A3;
        font-size: 38px;
    }
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ffffffcc;
    color: #3e3e3e;
    border: 1px solid #8C99A3;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.btnnew {
    background: linear-gradient(90deg,#fff7f2,#f2f9ff);
    padding: 7px 18px;
    color: #3e3e3e !important;
}
/* ستون نکات */
.tips {
    padding: 2rem;
}

    .tips h6 {
        font-weight: 800;
        color: #4a4a4a;
    }

    .tips ul {
        margin: 0;
        padding: 0 1rem;
        list-style: none;
    }

        .tips ul li {
            margin-bottom: .75rem;
            position: relative;
            padding-inline-start: 1rem;
            color: #4f5865;
        }

            .tips ul li::before {
                content: "•";
                position: absolute;
                inset-inline-start: -0.5rem;
                color: var(--primary);
                font-size: 1.1rem;
                line-height: 1;
                top: .1rem;
            }

.divider-lg {
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .08), transparent);
    min-height: 100%;
    margin: 0 auto;
}

/* فرم */
.auth-form {
    padding: 2rem;
    background: #fff;
}

.auth-title {
    font-weight: 700;
    color: #7a8797;
}

.hint-box {
    background: #f4f7fb;
    border: 1px dashed rgba(0, 0, 0, .1);
    color: #6b7280;
    border-radius: .75rem;
    padding: .85rem 1rem;
    font-size: .92rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(233, 84, 122, .15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border: none;
    box-shadow: 0 12px 24px rgba(233, 84, 122, .28);
}

    .btn-primary:hover {
        filter: brightness(1.03);
    }

.muted-link {
    color: #6b7280;
}

    .muted-link:hover {
        color: var(--primary);
    }

.copyright {
    color: #8b95a3;
    font-size: .9rem;
}


    .divider-lg {
        display: none;
    }

    .tips,
    .auth-form {
        padding: 1.25rem;
    }

    .auth-wrap {
        margin: 72px auto 40px;
        position: relative;
    }
