@import "../variables.scss";

.at-button {
    font-family: $at-font;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    border: none;
    line-height: 0;

    &.iconic {
        gap: 5px;
        
        mat-icon {
            vertical-align: middle;
            font-weight: bolder;
        }
    }

    &.normal {
        padding: 10px 30px;
    }

    &.circle {
        width: 44px;
        height: 44px;
        border-radius: 50%;
    }

    &.flat-green {
        background-color: $at-green;
        color: var(--box-color);

        &:hover {
            cursor: pointer;
            background-color: $at-green-active;
            box-shadow: var(--shadow-active-green);
        }

        &:disabled {
            background-color: var(--disabled-gray);

            &:hover {
                box-shadow: none;
                background-color: var(--disabled-gray);
                cursor: default;
            }
        }
    }

    &.outline-green {
        background-color: var(--box-color);
        border: 2px solid $at-green;
        color: $at-green;

        &:hover {
            cursor: pointer;
            border-color: $at-green-active;
            color: $at-green-active;
            box-shadow: var(--shadow-active-green);

            @media (max-width: 932px) {
                border-color: $at-green;
                color: $at-green;
                box-shadow: none;
            }
        }
    }
}

.buttons-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    width: 100%;
}

.buttons-container-mobile {
    flex-wrap: wrap;
    
    @media (max-width: 460px) {
        &{
            gap: 20px !important;
        }

        button {
            width: 100%;
        }
    }
}

.buttons-small-space {
    gap: 10px;
}

.auth-button {
    width: 100%;
}


