﻿.container {
    max-width: 500px;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--bg1), var(--bg2));
    border-right: 1px solid #ebeff1;
    border-left: 1px solid #ebeff1;
}

header {
    padding: 26px 24px 0;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
}

    header .title {
        font-size: 1rem;
        font-weight: 700;
    }

    header .backIcon {
        background-color: #fff;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--accent);
        cursor: pointer;
        position: absolute;
        left: 24px;
        padding-right: 3px;
    }

main {
    height: 100%;
    width: 100%;
    overflow: auto;
    padding: 0 24px;
}

footer {
    padding: 8px 14px;
    display: flex;
    align-items: center;
    border-radius: 20px 20px 0 0;
    background-color: #fff;
    outline: 1px solid #EBEFF1;
    position: relative;
}

    footer .item {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 8px;
        color: #676D75;
        font-size: 0.75rem;
        font-weight: 600;
    }

        footer .item.active {
            color: var(--accent);
        }

            footer .item.active:before {
                content: '';
                width: 90px;
                max-width: 100%;
                height: 5px;
                border-radius: 5px 5px 0 0;
                background-color: var(--accent);
                position: absolute;
                bottom: 0;
            }

        footer .item.disable {
            opacity: 0.5;
        }






.secWallet {
    background: var(--accent-gradient);
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 1px 2px 1px #888C911A, 0px 0px 0px 1px #F2F5F8;
    margin-top: 20px;
    margin-bottom: 30px;
}

    .secWallet .info {
        position: absolute;
        display: flex;
        flex-direction: column;
        gap: 8px;
        top: 24px;
        right: 30px;
        color: #fff;
    }

        .secWallet .info .title {
            font-size: 0.75rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .secWallet .info .Amount {
            font-size: 1.375rem;
            font-weight: 800;
        }

    .secWallet .backEfect {
        transform: scale(1.2);
    }

.card {
    padding: 24px;
    background-color: #fff;
    border-radius: 22px;
    box-shadow: 0px 1px 5px 0px #79979a21;
    color: var(--text);
}

.secCharge {
    margin-bottom: 30px;
}

    .secCharge .title {
        font-size: 0.875rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 22px;
    }

    .secCharge .secDefaultAmount {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        margin-bottom: 30px;
    }

        .secCharge .secDefaultAmount .item {
            padding: 14px;
            width: calc(50% - 7px);
            background-color: #4b97a41a;
            color: var(--accent);
            text-align: center;
            border-radius: 12px;
            font-weight: 500;
            font-size: 0.813rem;
            cursor: pointer;
        }

    .secCharge .formItem {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
        position: relative;
    }

        .secCharge .formItem label {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--text);
        }

        .secCharge .formItem input {
            text-align: center;
            font-size: 0.95rem;
            font-weight: 500;
        }

        .secCharge .formItem .toman {
            position: absolute;
            left: 15px;
            font-size: 0.75rem;
            font-weight: 500;
            color: #adadad;
            bottom: 12px;
            line-height: normal;
        }

    .secCharge .btn {
        background: var(--accent-gradient);
        color: #fff;
        width: 100%;
        font-size: 0.875rem;
        font-weight: 800;
    }

.btn {
    padding: 13px 15px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}


.secTransaction {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

    .secTransaction .title {
        font-size: 0.875rem;
        font-weight: 700;
    }

    .secTransaction .list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

        .secTransaction .list .item {
            display: flex;
            align-items: center;
            background-color: #fff;
            padding: 10px 18px 10px 22px;
            border-radius: 22px;
            box-shadow: 0px 1px 5px 0px #79979a21;
            gap: 11px;
        }

            .secTransaction .list .item .icon {
                width: 36px;
                height: 36px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                background-color: rgb(161 161 161 / 18%);
                color: #8e8e8e;
            }

            .secTransaction .list .item .content .name {
                font-size: 0.813rem;
                font-weight: 500;
                margin-bottom: 4px;
            }

            .secTransaction .list .item .content .date {
                font-size: 0.688rem;
                font-weight: 400;
                color: #7d7d7d;
                direction: ltr;
                text-align: right;
            }

            .secTransaction .list .item .details {
                margin-right: auto;
                text-align: left;
                color: #8e8e8e;
            }

                .secTransaction .list .item .details .amount {
                    margin-right: auto;
                    font-size: 1rem;
                    font-weight: 500;
                    direction: ltr;
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    gap: 4px;
                }

                    .secTransaction .list .item .details .amount span {
                        font-size: 0.688rem;
                    }

                .secTransaction .list .item .details .status {
                    font-size: 0.688rem;
                    font-weight: 400;
                }

            .secTransaction .list .item.green .icon {
                background-color: #4b97a41a;
                color: var(--accent);
            }

            .secTransaction .list .item.green .details {
                color: var(--accent);
            }







/*#region profile*/
.secProfile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 80px 0 30px;
    gap: 16px;
}

    .secProfile .profile {
        width: 110px;
        height: 110px;
        margin-top: -80px;
        border: 5px solid #EBF3F5;
        border-radius: 50%;
    }

        .secProfile .profile img {
            width: 100%;
            object-fit: cover;
        }

    .secProfile .name {
        margin-bottom: 36px;
        font-weight: 700;
        font-size: 1rem;
    }

    .secProfile .operations {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 6px;
    }

        .secProfile .operations .item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            padding: 10px 0;
            color: var(--text);
        }

            .secProfile .operations .item .icon {
                width: 24px;
                height: 24px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

        .secProfile .operations .hr {
            width: 100%;
            height: 2px;
            background-color: #f0f0f0;
            border-radius: 12px;
        }
/*#endregion*/


.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0003;
    backdrop-filter: blur(2px);
    z-index: 98;
}

.bottom-sheet {
    display: none;
    position: fixed;
    height: fit-content;
    background: none;
    background-color: #fff;
    border: none;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0);
    z-index: 99;
    width: 100%;
    border-radius: 22px 22px 0 0;
    padding: 24px;
    box-shadow: 0px -1px 5px 0px #79979a21;
}

    .bottom-sheet .title {
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        margin-bottom: 30px;
    }

    .bottom-sheet .content {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
    }

        .bottom-sheet .content .item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

            .bottom-sheet .content .item .name {
                font-weight: 500;
                font-size: 0.9rem;
            }

            .bottom-sheet .content .item .text {
                font-weight: 400;
                font-size: 0.85rem;
                color: var(--text);
            }



.secHome {
    margin: 20px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

    .secHome .welcom {
        display: flex;
        position: relative;
        padding-right: 35px;
        min-height: 75px;
    }

        .secHome .welcom .icon {
            width: 70px;
            height: 70px;
            padding: 8px;
            position: absolute;
            right: 0;
            top: 50%;
            transform: translate(0, -50%);
            outline: 5px solid var(--bg1);
            border-radius: 50%;
            background: #ffffff;
        }

            .secHome .welcom .icon img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

        .secHome .welcom .text {
            width: 100%;
            font-size: 0.95rem;
            font-weight: 500;
            padding: 24px;
            padding-right: 55px;
            background-color: #fff;
            border-radius: 22px;
            box-shadow: 0px 1px 5px 0px #79979a21;
            color: var(--text);
        }


    .secHome .secServices {
        display: flex;
        flex-wrap: wrap;
        row-gap: 24px;
    }

        .secHome .secServices .item {
            width: 33%;
            display: flex;
            justify-content: center;
        }

            .secHome .secServices .item .icon {
                width: 70px;
                height: 70px;
                background-color: #fff;
                padding: 15px;
                border-radius: 22px;
                box-shadow: 0px 1px 5px 0px #79979a21;
            }

                .secHome .secServices .item .icon img {
                    width: 100%;
                }

            .secHome .secServices .item .text {
                font-size: 0.8rem;
                font-weight: 500;
                color: var(--text);
                text-align: center;
                margin-top: 8px;
            }



.carousel-cell {
    width: 100%; /* full width */
    height: 160px; /* height of carousel */
    margin-right: 10px;
    background: #8C8;
    border-radius: 22px;
    counter-increment: gallery-cell;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
/* no circle */
.flickity-button {
    background: #ffffff4d !important;
}
/* big previous & next buttons */
.flickity-prev-next-button {
    width: 30px !important;
    height: 30px !important;
}
/* icon color */
.flickity-button-icon {
    fill: #fff !important;
}
/* hide disabled button */
.flickity-button:disabled {
    display: none !important;
}

.flickity-page-dots {
    display: none;
}
