/* Version: 2026-02-11-16:30 */
.page-content {
    width: 100%;
}

.deals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.deals-header label{
    position: relative;
}

.deals-header .custom-select-selected {
    border-radius: 100px;
    background: rgba(18, 18, 18, 1);
    padding: 13px 30px 13px 20px;
    border: none;
    font-size: 14px;
    color: #fff;
    outline: none;
}

.deals-cards{
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    gap: 11px;

    & .card{
        border: 1px solid rgba(20, 20, 20, 1);
        border-radius: 14px;
        background: rgba(18, 18, 18, 1);
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: start;
        width: calc(50% - 6px);

        & svg{
            grid-column: 2;
            grid-row: 1;
        }

        & p{
            grid-column: 1;
            grid-row: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
            color: rgba(255, 255, 255, 1);
            font-size: 24px;
            font-weight: 500;
            line-height: 120%;
            width: 100%;

            & span{
                color: rgba(134, 134, 134, 1);
                font-size: 14px;
                line-height: 140%;
            }
        }
    }
}

#pageAutoresponder{
    height: 90vh;

    & .deals-columns{
        height: 78vh;

        & .deals-column .deals-active-place.first{
            height: 50vh;
        }
        & .deals-column .deals-active-place.second{
            height: 60vh;
        }
    }
}

.subscript{

    & .subscriptions:has(div) ~ .no-sub{
        display: none;
    }

    & .subscriptions{
        display: flex;
        gap: 10px;

        & .sub{
            display: flex;
            flex-direction: column;
            gap: 20px;
            border: 1px solid rgba(20, 20, 20, 1);
            border-radius: 18px;
            background: rgba(18, 18, 18, 1);
            padding: 20px;
            width: 100%;

            & .header{
                display: flex;
                align-items: center;
                gap: 15px;

                & svg{
                    min-width: 48px;
                    min-height: 48px;
                    padding: 14px 13px;
                    background: rgba(22, 149, 244, 1);
                    border-radius: 50%;
                }

                & p{
                    display: flex;
                    flex-direction: column;
                    gap: 4px;
                    color: rgba(255, 255, 255, 1);
                    font-size: 16px;
                    font-weight: 500;

                    & span{
                        color: rgba(134, 134, 134, 1);
                        font-size: 12px;
                        font-weight: 400;
                    }
                }
            }

            & .price-div{
                display: flex;
                flex-direction: column;
                gap: 8px;

                & .price{
                    color: rgba(255, 255, 255, 1);
                    font-size: 32px;
                    font-weight: 500;

                    & span{
                        font-size: 14px;
                    }
                }

                & .under{
                    color: rgba(134, 134, 134, 1);
                    font-size: 12px;
                    font-weight: 400;
                }
            }

            & button{
                border-radius: 100px;
                background: rgba(22, 149, 244, 1);
                padding: 14px 17px 14px 17px;
                border: none;
                outline: none;
                color: rgba(255, 255, 255, 1);
                font-size: 14px;
                font-weight: 500;
                width: fit-content;
                cursor: pointer;
            }
        }
    }

    & .no-sub{
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 20px;
        border: 1px solid rgba(20, 20, 20, 1);
        border-radius: 18px;
        background: rgba(18, 18, 18, 1);

        & svg{
            width: 70px;
            height: 70px;
            padding: 11px;
            border-radius: 100px;
            background: rgba(245, 158, 11, 1);
        }

        & p{
            color: rgba(255, 255, 255, 1);
            font-size: 16px;
            font-weight: 500;
            display: flex;
            flex-direction: column;
            text-align: center;
            gap: 4px;

            & span{
                color: rgba(134, 134, 134, 1);
                font-size: 12px;
                font-weight: 400;
            }
        }

        & a{
            border: 1px solid rgba(32, 32, 32, 1);
            border-radius: 100px;
            background: rgba(13, 13, 13, 1);
            padding: 14px 17px;
            color: rgba(255, 255, 255, 1);
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
        }
    }
}

.deals-column.settings{
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: none;
    border: none;
    padding: 0;

    & .settings-block{
        border: 1px solid rgba(20, 20, 20, 1);
        border-radius: 18px;
        background: rgba(18, 18, 18, 1);
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;

        & .block{
            display: flex;
            flex-direction: column;
            gap: 15px;

            & .header{
                display: flex;
                justify-content: space-between;
                align-items: center;

                & button{
                    border-radius: 100px;
                    background: rgba(22, 149, 244, 1);
                    border: none;
                    outline: none;
                    padding: 10px 13px;
                    display: flex;
                    align-items: center;
                    gap: 6px;
                    color: rgba(255, 255, 255, 1);
                    font-size: 14px;
                    font-weight: 500;
                    cursor: pointer;
                }
            }

            & .checkbox{
                display: flex;
                justify-content: space-between;
                align-items: center;

                & p{
                    color: rgba(255, 255, 255, 1);
                    font-size: 14px;
                    font-weight: 500;
                    display: flex;
                    flex-direction: column;
                    gap: 4px;

                    & span{
                        color: rgba(134, 134, 134, 1);
                        font-size: 12px;
                        font-weight: 400;
                    }
                }

                & input[type=checkbox]{
                    display: none;
                }

                & label {
                    cursor: pointer;
                    text-indent: -9999px;
                    border: 1px solid rgba(32, 32, 32, 1);
                    border-radius: 111111px;
                    width: 42px;
                    height: 24px;
                    background: rgba(13, 13, 13, 1);
                    display: block;
                    position: relative;
                    transition: .2s linear;
                }

                & label:after {
                    content: '';
                    position: absolute;
                    top: 3px;
                    left: 4px;
                    width: 16px;
                    height: 16px;
                    background: rgba(32, 32, 32, 1);
                    border-radius: 90px;
                    transition: 0.3s;
                }

                & input:checked + label:after {
                    background: rgba(154, 88, 246, 1);
                }

                & input:checked + label:after {
                    left: calc(100% - 4px);
                    transform: translateX(-100%);
                }

            }

            & > p, & .header p{
                color: rgba(255, 255, 255, 1);
                font-size: 16px;
                font-weight: 500;
                display: flex;
                flex-direction: column;
                gap: 4px;

                & span{
                    color: rgba(134, 134, 134, 1);
                    font-size: 12px;
                    font-weight: 400;
                }
            }

            & .gap{
                display: flex;
                gap: 10px;
            }

            & .sub:has(div) ~ .no-sub{
                display: none;
            }

            & .no-sub{
                display: flex;
                flex-direction: column;
                gap: 30px;
                align-items: center;
                justify-content: center;
                padding: 69px 0;

                & p{
                    color: rgba(255, 255, 255, 1);
                    font-size: 14px;
                    font-weight: 500;
                    display: flex;
                    flex-direction: column;
                    gap: 7px;
                    text-align: center;

                    & span{
                        color: rgba(134, 134, 134, 1);
                        font-size: 12px;
                        font-weight: 400;
                    }
                }

                & a{
                    border-radius: 100px;
                    background: rgba(52, 199, 89, 1);
                    padding: 10px 13px;
                    color: rgba(255, 255, 255, 1);
                    font-size: 14px;
                    font-weight: 500;
                    text-decoration: none;
                }
            }

            & > label, & .gap label{
                display: flex;
                flex-direction: column;
                gap: 7px;
                color: rgba(134, 134, 134, 1);
                font-size: 12px;
                font-weight: 400;
                width: 100%;
                position: relative;

                & > div{
                    display: flex;
                    gap: 6px;
                    align-items: center;
                }

                & span{
                    display: flex;
                    justify-content: space-between;

                    &.small{
                        color: rgba(134, 134, 134, 1);
                        font-size: 10px;
                        font-weight: 400;
                    }
                }

                &.pass > div{
                    position: relative;

                    & span{
                        position: absolute;
                        right: 13px;
                        cursor: pointer;
                    }

                    & input::-ms-reveal{
                        display: none;
                    }
                }

                & input{
                    border: 1px solid rgba(32, 32, 32, 1);
                    border-radius: 12px;
                    background: rgba(13, 13, 13, 1);
                    padding: 13px;
                    font-size: 14px;
                    font-weight: 500;
                    line-height: 17px;
                }

                & input{
                    color: rgba(134, 134, 134, 1);

                    &::placeholder{
                        color: rgba(134, 134, 134, 0.25);
                    }

                    &.red{
                        color: rgba(255, 56, 60, 1);

                        &::placeholder{
                            color: rgba(255, 56, 60, 1);
                        }
                    }
                }
            }
        }

        & > button{
            width: fit-content;
            border-radius: 100px;

            padding: 10px 13px;
            border: none;
            outline: none;
            color: rgba(255, 255, 255, 1);
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 6px;

            &.purple{
                background: rgba(154, 88, 246, 1);
            }

            &.blue{
                background: rgba(22, 149, 244, 1);
            }
        }
    }
}

.admin-cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: calc(100% - 266px);

    & .card{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 148px;
        border: 1px solid rgba(20, 20, 20, 1);
        border-radius: 14px;
        background: rgba(18, 18, 18, 1);
        padding: 20px;

        & .card-header{
            display: flex;
            justify-content: space-between;

            & p{
                color: rgba(255, 255, 255, 1);
                font-size: 14px;
                font-weight: 500;
            }
        }

        & > p{
            display: flex;
            flex-direction: column;
            gap: 4px;
            color: rgba(255, 255, 255, 1);
            font-size: 24px;
            font-weight: 500;

            & span{
                color: rgba(134, 134, 134, 1);
                font-size: 14px;
                font-weight: 400;
            }
        }
    }
}

.big-card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    width: 266px;
    height: -webkit-fill-available;

    border: 1px solid rgba(20, 20, 20, 1);
    border-radius: 14px;
    background: rgba(18, 18, 18, 1);
    padding: 20px;
    position: relative;
    overflow: hidden;

    & .card-header{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 108px;

        & div{
            display: flex;
            justify-content: space-between;

            & p{
                color: rgba(255, 255, 255, 1);
                font-size: 14px;
                font-weight: 500;
            }
        }

        & > p{
            display: flex;
            flex-direction: column;
            gap: 4px;
            color: rgba(255, 255, 255, 1);
            font-size: 24px;
            font-weight: 500;

            & span{
                color: rgba(134, 134, 134, 1);
                font-size: 14px;
                font-weight: 400;
            }
        }
    }

    & .graph{
        position: absolute;
        bottom: 0;
        left: 0;

        & .first-svg{
            position: absolute;
            bottom: 0;
        }

        & .last-svg{
            margin-bottom: -8px;
            margin-left: -2px;
        }
    }
}

.sub-status{
    display: flex;
    gap: 6px;

    & > div{
        display: flex;
        flex-direction: column;
        gap: 7px;

        & .main{
            display: flex;
            flex-direction: column;
            gap: 4px;
            color: rgba(255, 255, 255, 1);
            font-size: 16px;
            font-weight: 500;

            & span{
                color: rgba(134, 134, 134, 1);
                font-size: 12px;
                font-weight: 400;
            }
        }

        & .expire{
            color: rgba(134, 134, 134, 0.5);
            font-size: 10px;
            font-weight: 400;
        }
    }
}

.support-block{
    display: flex;
    justify-content: space-between;
    align-items: center;

    & div{
        display: flex;
        gap: 14px;
        align-items: center;

        & svg{
            min-width: 56px;
            min-height: 56px;
            border-radius: 80px;
            background: rgba(22, 149, 244, 1);
            padding: 9px;
        }

        & p{
            display: flex;
            flex-direction: column;
            gap: 4px;
            color: rgba(255, 255, 255, 1);
            font-size: 16px;
            font-weight: 500;

            & span{
                color: rgba(134, 134, 134, 1);
                font-size: 12px;
                font-weight: 400;
            }
        }
    }

    & a{
        border: 1px solid rgba(32, 32, 32, 1);
        border-radius: 100px;
        background: rgba(13, 13, 13, 1);
        padding: 14px 17px;
        color: rgba(255, 255, 255, 1);
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
    }
}

.payment-history{
    margin-top: 20px;

    & .section-title{
        color: rgba(255, 255, 255, 1);
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 10px;
    }

    & .history-list{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    & .no-history{
        color: rgba(134, 134, 134, 1);
        font-size: 14px;
        text-align: center;
        padding: 20px;
    }

    & .history-item{
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: 1px solid rgba(32, 32, 32, 1);
        border-radius: 12px;
        background: rgba(13, 13, 13, 1);
        padding: 13px;

        & > div{
            display: flex;
            flex-direction: column;
            gap: 4px;

            &:last-child{
                align-items: flex-end;
            }
        }

        & .payment-plan{
            color: rgba(255, 255, 255, 1);
            font-size: 14px;
            font-weight: 500;
        }

        & .payment-date{
            color: rgba(134, 134, 134, 1);
            font-size: 12px;
            font-weight: 400;
        }

        & .payment-amount{
            color: rgba(255, 255, 255, 1);
            font-size: 14px;
            font-weight: 500;
        }

        & .payment-status{
            font-size: 12px;
            font-weight: 400;

            &.success{
                color: rgba(52, 199, 89, 1);
            }

            &.warning{
                color: rgba(255, 204, 0, 1);
            }

            &.error{
                color: rgba(255, 56, 60, 1);
            }
        }
    }
}

.deals-existing-configurations{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;

    & .configuration{
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 1px solid rgba(32, 32, 32, 1);
        border-radius: 12px;
        background: rgba(13, 13, 13, 1);
        padding: 13px;

        & .info{
            display: flex;
            flex-direction: column;
            gap: 4px;

            & h4{
                color: rgba(255, 255, 255, 1);
                font-size: 14px;
                font-weight: 500;
                line-height: 17px;
                display: flex;
                gap: 8px;
                align-items: center;

                & span{
                    font-size: 12px;

                    &.green{
                        color: rgba(52, 199, 89, 1);
                    }
                }
            }

            & p{
                color: rgba(134, 134, 134, 1);
                font-size: 12px;
            }
        }

        & .btns{
            display: flex;
            gap: 10px;
            align-items: center;

            & svg, img{
                cursor: pointer;
            }
        }
    }
}

.deals-autoresponder-status{
    display: flex;
    justify-content: space-between;
    border: 1px solid rgba(32, 32, 32, 1);
    border-radius: 14px;
    background: rgba(13, 13, 13, 1);
    padding: 13px;
    margin-top: 20px;

    & .name{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 6px;

        & h4{
            color: rgba(255, 255, 255, 1);
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        & .status-inline{
            color: rgba(52, 199, 89, 1);
            font-size: 12px;
            display: flex;
            gap: 3px;
            align-items: center;
            font-weight: 400;
            align-self: flex-start;
        }

        & p{
            color: rgba(52, 199, 89, 1);
            font-size: 12px;
            display: flex;
            gap: 3px;
            align-items: center;
        }
    }

    & .stats{
        display: flex;
        flex-direction: column;
        gap: 8px;

        & p{
            color: rgba(134, 134, 134, 1);
            font-size: 12px;
            font-weight: 500;
            display: flex;
            gap: 3px;
            align-items: center;

            & span{
                color: rgba(134, 134, 134, 0.5);
                font-size: 10px;
                font-weight: 400;
            }
        }
    }
}

.deals-account-choose{
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 20px;

    & p{
        display: flex;
        justify-content: space-between;
        align-items: center;

        color: rgba(255, 255, 255, 1);
        font-size: 14px;

        & span{
            color: rgba(134, 134, 134, 1);
            font-size: 12px;
        }
    }

    & label{
        position: relative;

        & > .custom-select-selected{
            border: 1px solid rgba(32, 32, 32, 1);
            border-radius: 12px;
            background: rgba(13, 13, 13, 1);
            padding: 13px 25px 13px 13px;
            color: rgba(134, 134, 134, 1);
            font-size: 14px;
            font-weight: 500;
            width: 100%;
        }
    }
}

.deals-active-place{
    margin-top: 20px;

    & .active-place .user{
        display: none;

        &.active{
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        & .user-header{
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;

            & h4{
                color: rgba(255, 255, 255, 1);
                font-size: 16px;
                font-weight: 500;
                display: flex;
                gap: 5px;

                & span{
                    color: rgba(134, 134, 134, 1);
                }
            }

            & button{
                color: rgba(22, 149, 244, 1);
                font-size: 12px;
                font-weight: 500;
                background: none;
                border: none;
                outline: none;
                cursor: pointer;
                text-decoration: underline;

                &.red{
                    color: rgba(255, 56, 60, 1);
                }
            }
        }

        & .items{
            display: flex;
            flex-direction: column;
            gap: 10px;

            & .item{
                border: 1px solid rgba(32, 32, 32, 1);
                border-radius: 14px;
                background: rgba(13, 13, 13, 1);
                padding: 13px;

                display: flex;
                flex-direction: column;
                gap: 8px;

                & .item-header{
                    display: flex;
                    justify-content: space-between;
                    align-items: center;


                    & div{
                        display: flex;
                        gap: 10px;
                        align-items: center;

                        & p{
                            font-size: 12px;
                            display: flex;
                            align-items: center;
                            gap: 3px;

                            &.active{
                                color: rgba(52, 199, 89, 1);
                            }

                            &.inactive{
                                color: rgba(255, 56, 60, 1);
                            }

                            &.any{
                                color: rgba(22, 149, 244, 1);
                            }

                            &.reply{
                                color: rgba(154, 88, 246, 1);
                            }

                            &.status{
                                font-size: 10px;
                                cursor: pointer;

                                &.red{
                                    color: rgba(255, 56, 60, 1);
                                }

                                &.green{
                                    color: rgba(52, 199, 89, 1);
                                }
                            }

                            &.big{
                                color: rgba(154, 88, 246, 1);
                                text-transform: uppercase;
                            }

                            &.chat{
                                color: rgba(134, 134, 134, 1);
                                font-size: 12px;
                                font-weight: 500;

                                & span{
                                    color: rgba(134, 134, 134, 0.5);
                                    font-size: 10px;
                                    font-weight: 400;
                                }
                            }

                        }

                        & > svg{
                            cursor: pointer;
                        }
                    }

                    & .date-time{
                        color: rgba(134, 134, 134, 1);
                        font-size: 12px;
                        font-weight: 500;
                        display: flex;
                        gap: 3px;
                        align-items: center;

                        & span{
                            color: rgba(134, 134, 134, 0.5);
                            font-size: 10px;
                            font-weight: 400;
                        }
                    }
                }

                & > p{
                    color: rgba(255, 255, 255, 1);
                    font-size: 14px;
                    max-width: 459px;
                }
            }
        }
    }

    & .inactive-place{
        display: none;
        height: 100%;

        &.active{
            display: flex;
            flex-direction: column;
            gap: 20px;
            align-items: center;
        }

        & > div{
            display: flex;
            flex-direction: column;
            gap: 4px;
            max-width: 253px;
            width: 100%;
            text-align: center;
            margin-bottom: 189px;

            & h4{
                color: rgba(255, 255, 255, 1);
                font-size: 16px;
                font-weight: 500;
            }

            & p{
                color: rgba(134, 134, 134, 1);
                font-size: 12px;
            }
        }

        & svg{
            border-radius: 100px;
            background: rgba(22, 149, 244, 1);
            padding: 14px;
            width: 70px;
            height: 70px;
            margin-top: auto;
        }
    }
}

.download-report{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
    border: 1px solid rgba(20, 20, 20, 1);
    border-radius: 18px;
    background: rgba(18, 18, 18, 1);
    padding: 20px;

    & > p{
        display: flex;
        flex-direction: column;
        gap: 4px;
        color: rgba(255, 255, 255, 1);
        font-size: 16px;
        font-weight: 500;

        & span{
            color: rgba(134, 134, 134, 1);

            font-size: 12px;
            font-weight: 400;
        }
    }

    & .choose-report{
        display: flex;
        flex-direction: column;
        gap: 15px;
        min-width: 0;

        & label{
            display: flex;
            flex-direction: column;
            gap: 7px;
            color: rgba(134, 134, 134, 1);
            font-size: 12px;

            &.select-label{
                position: relative;

                & > select{
                    padding: 13px 25px 13px 13px;
                    color: #ffffff;
                    font-size: 14px;
                    font-weight: 500;
                    border: 1px solid rgba(32, 32, 32, 1);
                    border-radius: 12px;
                    background: rgba(13, 13, 13, 1);
                    appearance: none;
                    width: 100%;
                }

                &:after {
                    content: url("/assets/img/arrow-select.svg");
                    display: block;
                    position: absolute;
                    height: 20px;
                    top: calc(75% - 15px);
                    right: 6px;
                    pointer-events: none;
                }
            }
        }

        & > div{
            display: flex;
            gap: 10px;

            & label{
                flex: 1;
            }
        }

    }

    & .btns{
        display: flex;
        gap: 10px;
        align-items: center;

        & button{
            display: flex;
            gap: 6px;
            justify-content: center;
            align-items: center;
            width: 100%;
            border-radius: 100px;
            padding: 12px 20px;
            border: none;
            outline: none;
            color: rgba(255, 255, 255, 1);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;

            &.green{
                background: rgba(16, 185, 129, 1);
            }

            &.blue{
                background: rgba(22, 149, 244, 1);
            }
        }
    }
}

.reports-info{
    display: flex;
    gap: 10px;
    align-items: center;

    & p{
        border: 1px solid rgba(32, 32, 32, 1);
        border-radius: 10px;
        background: rgba(13, 13, 13, 1);
        padding: 11px 13px;
        color: rgba(134, 134, 134, 1);
        font-size: 12px;
        font-weight: 500;
        display: flex;
        gap: 6px;
        align-items: center;

        &:before{
            content: '';
            display: block;
            border-radius: 50%;
            width: 9px;
            height: 9px;
        }

        &.green:before{
            background: rgba(16, 185, 129, 1);
        }

        &.blue:before{
            background: rgba(22, 149, 244, 1);
        }
    }
}

.hide-conf{
    transition: .1s linear;
    cursor: pointer;

    & img{
        transition: .1s linear;
    }

    &.active img{
        rotate: -180deg;
    }
}

.new-configuration{
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 9999px;
    overflow: hidden;
    transition: max-height 0.2s ease-in-out;

    &.hidden{
        max-height: 0;
    }

    & button, & select{
        cursor: pointer;
    }

    & > button{
        border-radius: 12px;
        background: rgba(154, 88, 246, 1);
        border: none;
        outline: none;
        padding: 12px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        color: rgba(255, 255, 255, 1);
        font-size: 14px;
        font-weight: 500;
        line-height: 14px;
    }

    & > label, & > .form-field{
        display: flex;
        flex-direction: column;
        gap: 10px;
        color: rgba(134, 134, 134, 1);
        font-size: 12px;

        &:first-child{
            margin-top: 20px;
        }

        & .field-label{
            color: rgba(134, 134, 134, 1);
            font-size: 12px;
        }

        & .select-label{
            position: relative;

            & > select{
                border: 1px solid rgba(32, 32, 32, 1);
                border-radius: 12px;
                background: rgba(13, 13, 13, 1);
                padding: 13px 25px 13px 13px;
                color: rgba(134, 134, 134, 1);
                font-size: 14px;
                font-weight: 500;
                appearance: none;
                width: 100%;
            }

            &:after {
                content: url("/assets/img/arrow-select.svg");
                display: block;
                position: absolute;
                height: 20px;
                top: calc(75% - 20px);
                right: 6px;
                pointer-events: none;
            }
        }

        & .input-with-additional .select-label:after,
        & .input-with-additional .select-label:has(.custom-select):after {
            content: none;
        }

        & .input-with-additional .custom-select-dropdown {
            top: auto;
            bottom: calc(100% + 4px);
            transform: translateY(10px);
        }

        & .input-with-additional .custom-select.open .custom-select-dropdown {
            transform: translateY(0);
        }

        & .input-with-additional .custom-select-trigger::after {
            transform: rotate(180deg);
        }

        & .input-with-additional .custom-select.open .custom-select-trigger::after {
            transform: rotate(0deg);
        }

        & textarea{
            resize: vertical;
            border: 1px solid rgba(32, 32, 32, 1);
            border-radius: 12px;
            background: rgba(13, 13, 13, 1);
            padding: 13px;
            color: rgb(134, 134, 134);
            height: 94px;

            &::placeholder{
                color: rgba(134, 134, 134, 0.25);
            }
        }

        & > input[type="checkbox"] {
            display: none;
        }

        & > input[type="checkbox"]:checked + label.btns {
            color: #fff;

            &.purple{
                background: rgba(154, 88, 246, 1);
            }

            &.blue{
                background: rgba(22, 149, 244, 1);
            }
        }

        & > button{
            border: 1px solid rgba(32, 32, 32, 1);
            border-radius: 12px;
            background: rgba(13, 13, 13, 1);
            padding: 12px 13px 12px 13px;
            color: rgba(255, 255, 255, 1);
            font-size: 14px;
            font-weight: 500;
            line-height: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        & > label.dots {
            display: flex;
            gap: 6px;
            align-items: center;
            position: relative;
            cursor: pointer;
            user-select: none;

            &:before{
                content: '';
                border: 1px solid rgba(69, 69, 69, 1);
                border-radius: 3px;
                min-width: 15px;
                height: 15px;
            }

            &:after{
                content: '';
                width: 9px;
                height: 9px;
                border-radius: 1px;
                background: rgba(255, 56, 60, 1);
                position: absolute;
                left: 4px;
                opacity: 0;
            }

            & p{
                color: rgba(255, 255, 255, 1);
                font-size: 12px;
                line-height: 15px;
                white-space: nowrap;
                display: flex;
                flex-direction: column;
                gap: 6px;

                & span{
                    color: rgba(134, 134, 134, 1);
                    font-size: 10px;
                }
            }
        }

        & > input[type="checkbox"]:checked + label.dots {

            &:before{
                border: 1px solid rgba(255, 56, 60, 0.5);
                border-radius: 3px;
            }

            &:after{
                opacity: 1;
            }
        }

        & .input-with-additional{
            border: 1px solid rgba(32, 32, 32, 1);
            border-radius: 12px;
            background: rgba(13, 13, 13, 1);
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 13px;
            gap: 10px;

            & span.additional{
                pointer-events: none;
                color: rgba(134, 134, 134, 1);
                font-size: 14px;
            }

            & input{
                padding: 0;
                border: none;
                background: transparent;
                width: auto;
                flex: 1;
                min-width: 0;
                outline: none;
                color: rgba(134, 134, 134, 1);
                font-size: 14px;
                font-weight: 500;
            }

            & .additional{
                display: flex;
                gap: 10px;
                flex-shrink: 0;

                & button{
                    color: rgba(255, 255, 255, 1);
                    font-size: 10px;
                    padding: 4px 10px;
                    border-radius: 100px;
                    border: none;
                    outline: none;

                    &.blue{
                        background: rgba(22, 149, 244, 1);
                    }

                    &.purple{
                        background: rgba(154, 88, 246, 1);
                    }
                }

                & select{
                    padding: 5px 24px 5px 10px;
                    border: none;
                    background: rgba(32, 32, 32, 1);
                    color: rgba(255, 255, 255, 1);
                    font-size: 10px;
                    min-width: 80px;
                    appearance: none !important;
                    -webkit-appearance: none !important;
                    -moz-appearance: none !important;
                    border-radius: 6px;
                    cursor: pointer;
                    position: relative;
                    z-index: 10;
                }

                & select::-ms-expand {
                    display: none;
                }

                &.select-label{
                    position: relative;

                    & select{
                        padding-right: 24px;
                        background-image: none !important;
                        background-color: rgba(32, 32, 32, 1) !important;
                    }

                    &:before {
                        content: '';
                        position: absolute;
                        top: 50%;
                        right: 8px;
                        transform: translateY(-50%);
                        width: 0;
                        height: 0;
                        border-left: 4px solid transparent;
                        border-right: 4px solid transparent;
                        border-bottom: 5px solid rgba(255, 255, 255, 0.6);
                        pointer-events: none;
                        z-index: 5;
                    }

                    &:has(.custom-select):before {
                        content: none;
                    }
                }
            }
        }

        & > input{
            border: 1px solid rgba(32, 32, 32, 1);
            border-radius: 12px;
            background: rgba(13, 13, 13, 1);
            padding: 13px;
            color: rgba(134, 134, 134, 1);

            &::placeholder{
                color: rgba(134, 134, 134, 0.25);
            }
        }
    }
}

.autoresponder{
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid rgba(20, 20, 20, 1);
    border-radius: 18px;
    background: rgba(18, 18, 18, 1);
    width: 50%;
    padding: 20px;

    & .top-content{
        display: flex;
        justify-content: space-between;
        align-items: center;

        & div{
            display: flex;
            flex-direction: column;
            gap: 4px;

            & h2{
                color: rgba(255, 255, 255, 1);
                font-size: 16px;
                font-weight: 500;
                line-height: 19px;
            }

            & p{
                color: rgba(134, 134, 134, 1);
                font-size: 12px;
                line-height: 15px;

                & span{
                    &.green{
                        color: rgba(16, 185, 129, 1);
                    }
                    &.red{

                    }
                }
            }
        }

        & button{
            border-radius: 100px;
            background: rgba(255, 56, 60, 1);
            border: none;
            outline: none;
            padding: 10px;
            color: #ffffff;
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            transition: .2s linear ;

            &:hover{
                background: rgb(234, 51, 55);
            }
        }
    }

    & .bottom-content{
        display: flex;
        gap: 10px;
        height: 100%;

        & .item{
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            gap: 9px;
            border: 1px solid rgba(32, 32, 32, 1);
            border-radius: 10px;
            background: rgba(13, 13, 13, 1);
            padding: 20px;

            & h3{
                color: rgba(255, 255, 255, 1);
                font-size: 24px;
                font-weight: 500;
                line-height: 90%;
            }

            & p{
                color: rgba(134, 134, 134, 1);
                font-size: 14px;
                font-weight: 400;
                line-height: 140%;
            }
        }
    }
}

.download-report{
    display: flex;
    flex-direction: column;

}

.deals-main-blocks-info{
    display: flex;
    gap: 10px;
    align-items: center;

    & > div{
        border: 1px solid rgba(20, 20, 20, 1);
        border-radius: 14px;
        background: rgba(18, 18, 18, 1);
        padding: 20px;
        height: -webkit-fill-available;
        flex: 1;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
        cursor: pointer;
        transition: .2s linear;

        &:hover{
            border: 1px solid rgba(32, 32, 32, 1);
        }

        & > p{
            width: 100%;
            color: rgba(255, 255, 255, 1);
            font-size: 16px;
            font-weight: 500;
            line-height: 19px;
        }

        &.big{
            flex: 3;

            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 35px;
            cursor: unset;

            & .main{
                display: flex;
                justify-content: space-between;
                align-items: center;
                width: 100%;

                & p{
                    display: flex;
                    flex-direction: column;
                    gap: 4px;
                    font-size: 16px;
                    font-weight: 500;
                    line-height: 19px;
                    color: #fff;

                    & span{
                        color: #868686;
                        font-size: 12px;
                    }
                }
            }

            & .sub{
                display: flex;
                flex-direction: column;
                gap: 4px;

                & > p{
                    font-size: 24px;
                    font-weight: 500;
                    line-height: 120%;
                    color: #fff;
                }

                & div{
                    display: flex;
                    align-items: center;
                    padding: 3px 9px 3px 6px;
                    border-radius: 1000px;
                    background: rgba(52, 199, 89, 0.1);
                    width: fit-content;

                    & p{
                        font-size: 10px;
                        font-weight: 500;
                        line-height: 12px;
                        color: rgba(52, 199, 89, 1);
                    }
                }
            }
        }
    }
}

.deals-blocks-info{
    display: flex;
    gap: 11px;
    margin-top: 10px;

    & > div{
        flex: 1;
        border: 1px solid rgba(20, 20, 20, 1);
        border-radius: 14px;
        background: rgba(18, 18, 18, 1);
        padding: 20px;
        display: flex;
        justify-content: space-between;
        transition: .2s linear;

        &:hover{
            border: 1px solid rgba(32, 32, 32, 1);
        }

        & p{
            font-size: 24px;
            font-weight: 500;
            line-height: 120%;
            color: #fff;
            display: flex;
            flex-direction: column;

            & span{
                color: #868686;
                font-size: 14px;
            }
        }
    }
}

.deals-columns-header{
    display: flex;
    justify-content: space-between;
    align-items: center;

    & h3 {
        color: #fff;
        font-size: 16px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 8px;

        & span{
            color: rgba(134, 134, 134, 1);
            font-size: 16px;
            font-weight: 500;
        }
    }

    & p{
        color: rgba(255, 255, 255, 1);
        font-size: 16px;
        font-weight: 500;
        line-height: 19px;
        display: flex;
        flex-direction: column;

        & span{
            color: rgba(134, 134, 134, 1);
            font-size: 12px;
            font-weight: 400;
            line-height: 15px;
        }
    }

    & .gap{
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    & .btn{
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 10px 13px;
        border-radius: 100px;
        font-size: 14px;
        color: #ffffff;
        cursor: pointer;
        user-select: none;

        &.purple{
            background: rgba(154, 88, 246, 1);
        }

        &.blue{
            background: rgba(22, 149, 244, 1);
        }
    }
}

.deals-active-accounts{
    display: flex;
    gap: 11px;
    flex-wrap: wrap;

    margin-top: 20px;

    & .item{
        border: 1px solid rgba(32, 32, 32, 1);
        border-radius: 14px;
        background: rgba(13, 13, 13, 1);
        padding: 20px;

        display: flex;
        justify-content: space-between;
        align-items: center;

        width: calc(50% - 6px);

        & .info{
            display: flex;
            gap: 24px;
            align-items: center;

            & .avatar{
                padding: 14px 15px;
                display: flex;
                align-items: center;
                justify-content: center;
                background: rgba(59, 130, 246, 1);
                border-radius: 50%;
            }

            & .user{
                display: flex;
                flex-direction: column;
                gap: 8px;

                & div{
                    display: flex;
                    flex-direction: column;
                    gap: 4px;

                    & p{
                        display: flex;
                        align-items: flex-end;
                        gap: 8px;
                    }

                    & .name{
                        color: rgba(255, 255, 255, 1);
                        font-size: 14px;
                        font-weight: 500;

                        & span{
                            color: rgba(22, 149, 244, 1);
                            font-size: 12px;
                            font-weight: 400;
                        }
                    }

                    & .credentials{
                        color: rgba(134, 134, 134, 1);
                        font-size: 12px;

                        & span{
                            display: flex;
                            align-items: center;
                            gap: 1px;

                            &.green{
                                color: rgba(52, 199, 89, 1);
                            }
                        }
                    }
                }
            }

            & .date{
                display: flex;
                align-items: center;
                gap: 3px;
                color: rgba(134, 134, 134, 1);
                font-size: 12px;
                font-weight: 500;

                & span{
                    color: rgba(134, 134, 134, 0.5);
                    font-size: 10px;
                    font-weight: 400;
                }
            }
        }

        & .trash{
            cursor: pointer;
        }
    }
}

.deals-block-checks{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;

    & .block{
        width: calc(33.33% - 8px);
        border: 1px solid rgba(20, 20, 20, 1);
        border-radius: 14px;
        background: rgba(18, 18, 18, 1);
        padding: 20px;
        display: flex;
        justify-content: space-between;

        & div{
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 11px;

            & p{
                color: rgba(255, 255, 255, 1);
                font-size: 16px;
                font-weight: 500;
                display: flex;
                flex-direction: column;
                gap: 4px;

                & span{
                    color: #868686;
                    font-size: 14px;
                }
            }

            & .currency{
                font-size: 24px;
                font-weight: 500;
                line-height: 120%;
            }

            & svg{
                cursor: pointer;
            }
        }
    }
}

.create-deal-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #9A58F6;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: auto;

    &.green{
        background-color: #34C759;

        &:hover{
            background-color: #2eb14f;
        }
    }

    &.blue{
        background-color: #1695F4;

        &:hover{
            background-color: #1486dc;
        }
    }

    &.px{
        margin-left: 10px;
    }
}

.create-deal-btn:hover {
    background-color: #8B4FE5;
}

.deals-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

.deals-search {
    width: 300px;
    padding: 12px 16px 12px 52px;
    background-color: #121212;
    border-radius: 100px;
    color: #fff;
    font-size: 14px;
    border: none;
    outline: none;
    position: relative;
    z-index: 2;
}

.deals-search::placeholder {
    color: #868686;
    opacity: 1;
}

.deals-search::-webkit-input-placeholder {
    color: #868686;
    opacity: 1;
}

.deals-search::-moz-placeholder {
    color: #868686;
    opacity: 1;
}

.filter-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: #121212;
    border-radius: 100px;
    color: #868686;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.filter-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: #121212;
    border: 1px solid #202020;
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    z-index: 100;
}

.filter-menu.active {
    display: block;
}

.filter-option {
    padding: 10px 12px;
    color: #868686;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.filter-option:hover {
    background-color: #1C1C1C;
    color: #fff;
}

.deals-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: start;

    &.tworows{
        grid-template-columns: repeat(2, 1fr);
    }

    &.vertical{
        display: flex;
        flex-direction: column;
        gap: 20px;

        & .deals-column.nobg {
            padding: 0;
        }
    }
}

.table-scroll{
    width:100%;
    overflow-x:auto;

    & table{
        width:100%;
        border-collapse: separate;
        border-spacing: 0 12px;
    }

    & table col.col-from { width: 22%; }
    & table col.col-to   { width: 18%; }
    & table col.col-amount{ width: 180px; }
    & table col.col-desc { width: 1fr; }
    & table col.col-date { width: 170px; }

    & thead th{
        text-align:left;
        font-weight:600;
        color: rgba(134, 134, 134, 1);
        padding: 10px 13px 7px;
        font-size:13px;
        letter-spacing:0.02em;

        &:last-child{
            text-align:right;
        }
    }

    & tbody td{
        background: #0D0D0D;
        padding:13px;
        vertical-align: middle;
        color:#ffffff;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
        border: 1px solid rgba(32, 32, 32, 1);
        border-right: none;
        border-left: none;
        transition: .2s linear;
    }

    & tbody tr td:first-child{
        border-left: 1px solid rgba(32, 32, 32, 1);
        border-top-left-radius:12px;
        border-bottom-left-radius:12px;
    }

    & tbody tr td:last-child{
        border-right: 1px solid rgba(32, 32, 32, 1);
        border-top-right-radius:12px;
        border-bottom-right-radius:12px;
        text-align:right;
    }

    & tbody tr:hover td{
        background: rgba(255,255,255,0.025);
    }

    & button{
        border-radius: 100px;
        padding: 4px 10px;
        border: none;
        outline: none;
        cursor: pointer;

        &.blue{
            background: rgba(22, 149, 244, 1);
        }

        &.red{
            background: rgba(255, 56, 60, 1);
        }

        & svg{
            vertical-align: middle;
        }

        & span{
            color: rgba(255, 255, 255, 1);
            font-size: 10px;
            font-weight: 500;
            line-height: 12px;
        }

        &.small{
            border-radius: 5px;
            padding: 4px;
            height: 20px;

            & svg{
                vertical-align: unset;
            }
        }
    }

}

.deals-column {
    background: rgba(18, 18, 18, 1);
    border-radius: 14px;
    padding: 20px;
    width: 100%;

    &.nobg{
        background: none;
    }

    &.flex{
        display: flex;
        gap: 10px;
    }

    &.column{
        flex-direction: column;
        gap: 15px;
    }

    & > h3{
        color: rgba(255, 255, 255, 1);
        font-size: 16px;
        font-weight: 500;

        display: flex;
        flex-direction: column;
        gap: 4px;

        & span{
            color: rgba(134, 134, 134, 1);
            font-size: 12px;
            font-weight: 400;
        }
    }
}

.deals-column-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;

    &.column{
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 0;
    }

    & > div{
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
}

.deals-column-header h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;

    & span{
        color: rgba(134, 134, 134, 1);
        font-size: 16px;
        font-weight: 500;
    }
}

.deals-column-header p {
    color: rgba(134, 134, 134, 1);
    font-size: 12px;
    line-height: 15px;
}

.deals-count {
    color: #868686;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 14px;
}

.deals-column-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.storage-info {
    color: #868686;
    font-size: 12px;
    margin-left: auto;
    white-space: nowrap;
}

.deals-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deal-card {
    background-color: #0D0D0D;
    border: 1px solid #141414;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.deal-card:hover {
    border-color: #202020;
}


.deal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;

    & .deal-markers{
        display: flex;
        gap: 6px;
        position: relative;

        & .marker{
            width: 24px;
            height: 40px;
            margin-top: -16px;
            cursor: pointer;
            touch-action: none;
            transition: transform 0.2s ease;

            &.green{
                background: url("../img/success.svg") no-repeat 50% 41%;
            }

            &.red{
                background: url("../img/cancel.svg") no-repeat 50% 41%;
            }

            &.success{
                background: url("../img/success.svg") no-repeat 50% 41%;
            }

            &.cancel{
                background: url("../img/cancel.svg") no-repeat 50% 41%;
            }

            &.dragging{
                transform: scale(1.05);
                opacity: 0.95;
                z-index: 1000;
                transition: none;
                box-shadow: 0 6px 18px rgba(0,0,0,0.18);
            }
        }

        & .marker-placeholder {
            width: 24px;
            height: 40px;
            flex: 0 0 auto;
        }
    }
}

.tab-btns{
    width: 100%;
    display: none!important;
    flex-direction: row!important;
    align-items: center;
    justify-content: flex-end;
    gap: 6px!important;

    & .btn{
        width: fit-content;
        padding: 8px;
        background-color: #0D0D0D;
        height: 37px;
        border-radius: 50%;
        cursor: pointer;
        border: 1px solid #202020;
    }

}

.deal-card-header h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.deal-count{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.deal-count-int{
    font-size: 14px;
    color: #ffffff;
}

.deal-card .status{
    color: #606060;

    &.green{
        color: #34C759;
    }
}

.status-dot{
    display: inline-block;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #606060;

    &.green{
        background-color: #34C759;
    }

    &.red{
        background-color: #FF383C;
    }
}

.deal-card-preview {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #1C1C1C;

    & > div {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    & > div:last-child {
        text-align: right;
    }
}

.deal-count-cart{
    color: #1695F4;
    display: flex;
    gap: 3px;
    align-items: center;
}

.deal-buyer {
    color: #868686;
    font-size: 12px;
}

.deal-date {
    color: #868686;
    font-size: 12px;
    white-space: nowrap;
}

.deal-amounts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.deal-total {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.deal-amounts-block{
    display: flex;
    justify-content: space-between;

}

.deal-total-block{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.deal-profit {
    color: #868686;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    gap: 3px;
    align-items: center;
}

.deal-profit.green {
    color: #34C759;
}

.deal-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    width: fit-content;
}

.deal-status.orange {
    color: #FF9500;
}

.deal-status.green {
    color: #34C759;
}

.deal-status.red {
    color: #FF383C;
}

.status-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
}

.deal-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #1C1C1C;
    display: none;
}

.deal-details > .deal-amounts {
    padding-bottom: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid #1C1C1C;
}

.deal-card.expanded .deal-details {
    display: block;
}

.deal-detail-flex{
    display: flex;
    justify-content: space-between;

    &.gap{
        gap: 15px;
    }
}

.deal-detail-row {
    display: flex;
    gap: 3px;
    align-items: center;
    font-size: 13px;

    &:has(.deal-btn){
        gap: 6px;
    }
}

.detail-label {
    color: rgba(134, 134, 134, 0.5);
}

.detail-value {
    color: rgba(255, 255, 255, 1);
    font-size: 12px;
    font-weight: 500;
}

a.detail-value{
    color: #1695F4;
}

.detail-value.green {
    color: #34C759;
}

.detail-value.blue {
    color: rgba(22, 149, 244, 1);
}

.deal-section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #1C1C1C;
}

.section-title {
    color: rgba(134, 134, 134, 1);
    font-size: 10px;
    font-weight: 400;
    margin-bottom: 6px;
}

.deal-actions {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #1C1C1C;

    & > div{
        display: flex;
        gap: 6px;
    }
}

.deal-deals{
    display: flex;
    flex-direction: column;
    gap: 10px;

    & .header{
        display: flex;
        justify-content: space-between;
        align-items: center;

        & p{
            color: rgba(22, 149, 244, 1);
            font-size: 12px;
            font-weight: 500;
        }

        & button{
            color: rgba(22, 149, 244, 1);
            font-size: 10px;
            font-weight: 500;
            text-decoration-line: underline;
            background: none;
            outline: none;
            border: none;
            cursor: pointer;
        }
    }

    & .deals-content{
        display: flex;
        flex-direction: column;
        gap: 8px;

        & .item{
            display: flex;
            justify-content: space-between;

            & .main{
                display: flex;
                flex-direction: column;
                gap: 4px;
                color: rgba(255, 255, 255, 1);
                font-size: 12px;
                font-weight: 500;

                & span{
                    color: rgba(134, 134, 134, 0.5);
                    font-size: 10px;
                    font-weight: 400;
                }
            }

            & .amount{
                color: rgba(52, 199, 89, 1);
                font-size: 12px;
                font-weight: 500;
            }
        }
    }
}

.deal-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 100px;
    background: rgba(18, 18, 18, 1);

    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 1);
    font-size: 11px;
    font-weight: 500;

    &.round{
        padding: 7px;
        border-radius: 50%;
        display: flex;
    }

    &.blue{
        background: rgba(22, 149, 244, 1);
    }

    &.red{
        background: rgba(255, 56, 60, 1);
    }

    &.green{
        background: rgba(52, 199, 89, 1);
    }

    &.orange{
        background: rgba(245, 158, 11, 1);
    }
}

.deal-btn:hover {
    opacity: 0.9;
}

.deal-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1000px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;

    &.red{
        background: rgba(255, 56, 60, 1);
    }

    &.blue{
        background: rgba(22, 149, 244, 1);
    }
}

.deal-icon-btn:hover {
    opacity: .9;
}

.deal-delete-info {
    color: rgba(134, 134, 134, 0.5);
    font-size: 10px;
    font-weight: 400;
}



/* Garant fields */
.garant-fields {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.garant-fields label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    color: rgba(134, 134, 134, 1);
}

.garant-fields input {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(32, 32, 32, 1);
    background: rgba(13, 13, 13, 1);
    color: #fff;
    font-size: 14px;
    outline: none;
}

.garant-fields input:focus {
    border-color: rgba(52, 199, 89, 0.5);
}


/*
 Purple button */
.btns button.purple {
    background: rgba(154, 88, 246, 1);
    border: none;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.btns button.purple:hover {
    background: rgba(134, 68, 226, 1);
}

/* I
nfo block in popup */
.popup-block.info-block {
    padding: 12px 16px;
    border-radius: 10px;
    margin: 0 16px;
}

.popup-block.info-block.blue {
    background: rgba(22, 149, 244, 0.1);
    border: 1px solid rgba(22, 149, 244, 0.2);
}

.popup-block.info-block .popup-block-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
}

.popup-block.info-block svg {
    color: #1695F4;
    flex-shrink: 0;
    margin-top: 2px;
}

.popup-block.info-block .info-title {
    font-size: 13px;
    font-weight: 500;
    color: #1695F4;
    margin-bottom: 4px;
}

.popup-block.info-block .info-desc {
    font-size: 12px;
    color: rgba(22, 149, 244, 0.8);
    line-height: 1.4;
}

/* Label with icon */
.label-with-icon {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Input hint */
.input-hint {
    display: block;
    font-size: 11px;
    color: rgba(134, 134, 134, 0.8);
    margin-top: 6px;
    font-weight: 400;
}

/* Add button */
.add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.add-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Checkbox block */
.checkbox-block {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.checkbox-block input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #1695F4;
    cursor: pointer;
}

.checkbox-block label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.checkbox-block > div {
    flex: 1;
}

/* Priority input */
.priority-input {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.priority-input input {
    flex: 1;
}

.priority-btn {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.priority-btn.green {
    border-color: rgba(52, 199, 89, 0.3);
}

.priority-btn.green:hover {
    border-color: rgba(52, 199, 89, 0.5);
    background: rgba(52, 199, 89, 0.1);
}

.priority-btn.red {
    border-color: rgba(255, 56, 60, 0.3);
}

.priority-btn.red:hover {
    border-color: rgba(255, 56, 60, 0.5);
    background: rgba(255, 56, 60, 0.1);
}

/* Info 
block in popup */
.popup-block.info-block {
    margin: 0 16px 16px;
}

.popup-block.info-block.blue {
    background: rgba(22, 149, 244, 0.08);
    border: 1px solid rgba(22, 149, 244, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
}

.popup-block.info-block .popup-block-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.popup-block.info-block.blue svg {
    color: #1695F4;
    stroke: #1695F4;
    flex-shrink: 0;
}

.popup-block.info-block .info-title {
    font-size: 13px;
    font-weight: 600;
    color: #1695F4;
    margin-bottom: 4px;
}

.popup-block.info-block .info-desc {
    font-size: 12px;
    color: rgba(22, 149, 244, 0.75);
    line-height: 1.5;
}
/* En
d btns block styling */
.popup-block-content.end-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-block-content.end-btns > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.popup-block-content.end-btns > div > div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(134, 134, 134, 1);
    font-size: 14px;
}

.popup-block-content.end-btns > div:last-child {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.popup-block-content.end-btns .close-popup {
    border: 1px solid rgba(32, 32, 32, 1);
    border-radius: 100px;
    background: rgba(13, 13, 13, 1);
    padding: 10px 16px;
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.popup-block-content.end-btns button[type="submit"] {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 100px;
    background: rgba(22, 149, 244, 1);
    padding: 10px 16px;
    border: none;
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.popup-block-content.end-btns input[type="checkbox"] {
    display: none;
}

.popup-block-content.end-btns label {
    cursor: pointer;
    border: 1px solid rgba(32, 32, 32, 1);
    border-radius: 100px;
    width: 42px;
    height: 24px;
    background: rgba(13, 13, 13, 1);
    display: block;
    position: relative;
    transition: .2s linear;
}

.popup-block-content.end-btns label:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 4px;
    width: 16px;
    height: 16px;
    background: rgba(32, 32, 32, 1);
    border-radius: 90px;
    transition: 0.3s;
}

.popup-block-content.end-btns input:checked + label:after {
    background: rgba(154, 88, 246, 1);
    left: calc(100% - 4px);
    transform: translateX(-100%);
}

.popup-block-content:has(> input[type="checkbox"]) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 15px !important;
}

.popup-block-content:has(> input[type="checkbox"]) > p {
    color: rgba(255, 255, 255, 1);
    font-size: 12px;
    margin: 0;
    width: 100%;
    flex-basis: 100%;
}

.popup-block-content > input[type="checkbox"] {
    display: none;
}

.popup-block-content > label.dots {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    align-items: center !important;
    cursor: pointer;
    user-select: none;
    position: relative;
    justify-content: flex-start !important;
}

.popup-block-content > label.dots:before {
    content: '';
    border: 1px solid rgba(69, 69, 69, 1);
    border-radius: 3px;
    min-width: 15px;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popup-block-content > input[type="checkbox"]:checked + label.dots:before {
    border: 1px solid rgba(255, 56, 60, 0.5);
    background: rgba(255, 56, 60, 0.2);
}

.popup-block-content > input[type="checkbox"]:checked + label.dots:after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background: rgba(255, 56, 60, 1);
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.popup-block-content > label.dots p {
    color: rgba(255, 255, 255, 1);
    font-size: 12px;
    line-height: 15px;
    white-space: nowrap;
}

.toggle-selector {
    display: flex;
    gap: 0;
    background: rgba(28, 28, 28, 1);
    border: 1px solid rgba(69, 69, 69, 1);
    border-radius: 8px;
    padding: 3px;
    position: relative;
    width: 100%;
}

.toggle-selector input[type="radio"] {
    display: none;
}

.toggle-selector label {
    flex: 1;
    padding: 10px 15px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    color: #FFFFFF !important;
    font-size: 12px;
    font-weight: 700 !important;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
}

.toggle-selector input[type="radio"]:checked + label {
    font-weight: 800 !important;
}

.toggle-selector-bg {
    position: absolute;
    top: 3px;
    left: 3px;
    height: calc(100% - 6px);
    background: rgba(154, 88, 246, 1);
    border-radius: 6px;
    transition: transform 0.3s ease, width 0.3s ease;
    z-index: 1;
}

.toggle-selector:has(input[type="radio"]:nth-last-of-type(2)) .toggle-selector-bg {
    width: calc(50% - 3px);
}

.toggle-selector:has(input[type="radio"]:nth-last-of-type(3)) .toggle-selector-bg {
    width: calc(33.333% - 3px);
}

.toggle-selector:has(input[type="radio"]:nth-of-type(1):checked) .toggle-selector-bg {
    transform: translateX(0);
}

.toggle-selector:has(input[type="radio"]:nth-of-type(2):checked) .toggle-selector-bg {
    transform: translateX(calc(100% + 3px));
}

.toggle-selector:has(input[type="radio"]:nth-of-type(3):checked) .toggle-selector-bg {
    transform: translateX(calc(200% + 6px));
}
