@use "../../../../styles/abstracts/variables" as *; 
@use "../../../../styles/abstracts/mixins" as *; 

.checkout {
    background: transparent;
    border: 1px solid $col-border-lining;
    // border-radius: 6px;
    color: $col-white;

    &--header {
        background: #18181A;
        color: $col-white;
        padding: .6rem 1.5rem;
        border-top-right-radius: 6px;
        border-top-left-radius: 6px;
        border-bottom: 1px solid $col-border-lining;

        h2{
            font-weight: 500;
            font-size: 1rem;
        }

        p{
            opacity: .85;
            font-size: .75rem;
            padding-top: .3rem;
            line-height: 1.5;
        }
    }

    &--body {
        padding: 0rem 1.5rem;

        &--amount {
            label {
                @include formLabel;
                font-weight: 400;
            }
            input {
                @include formInput;
                height: 2.6rem;
                border-radius: 6px;
                margin-bottom: .4rem;
            }
            select {
                @include formSelect;
                height: 2.6rem;
                border-radius: 6px;
                margin-bottom: .4rem;
            }
        }

        &--fees {
            margin-top: 1.3rem;
            h5{
                @include formLabel;
                font-weight: 400;
                font-size: .9rem;
            }
            &--content {
                background: #121214;
                color: $col-white;
                padding: .5rem 1rem;
                margin-top: .4rem;
                border-radius: 6px;
                border-bottom: 1px solid $col-border-lining;
                &--item {
                    display: flex;
                    justify-content: space-between;
                    &-a{
                        display: flex;
                        justify-content: space-between;  
                        border-bottom: 1px solid $col-border-lining;
                        padding-bottom: .2rem;
                        p{
                            font-size: .85rem;
                            line-height: 2.5;
                            opacity: .85;
                        }
                    }
                    p{
                        font-size: .8rem;
                        line-height: 2.5;
                        opacity: .85;
                    }
                }
            }
        }

        &--method {
            margin-top: 1.3rem;
            h5{
                @include formLabel;
                font-weight: 400;
                font-size: .9rem;
                padding-bottom: 1rem;
            }

            &--item {
                background: transparent;
                border-radius: 6px;
                cursor: pointer;
                border: 1px solid $col-border-lining;
                display: flex;
                gap: 10px;
                padding: .6rem 1rem;
                align-items: center;
                margin-bottom: 1rem;
                font-size: .85rem;
                opacity: .85;

                &--active {
                    @extend .checkout--body--method--item;
                    border: 1px dashed $col-orange;
                }
            }
        }

        &--notice {
            background: #121214;
            padding: 1rem;
            border-radius: 6px;
            margin-top: 1.3rem;
            border: 1px solid $col-border-lining;

            h5{
                font-size: .8rem;
            }
            small{
                font-size: .72rem;
                opacity: .7;
                line-height: .5;
            }
        }

        button {
            margin-top: 1rem;
            background: $col-orange;
            color: $col-dark;
            padding: .7rem 1rem;
            border-radius: 6px;
            width: 100%;
            font-size: .85rem;
            font-weight: 600;
            transition: all ease-in-out .5s;
            // margin-bottom: 1.5rem;
            &:hover {
                background-color: #e66a00 !important;
                box-shadow: 0 0 6px rgba(255, 122, 0, 0.4);
            }
        }
    }
}