/*to use global variables, import them into your component stylesheet*/
@import "./../../../styles/global.scss";

.btn {
    align-items: center;
    background: $grey-light;
    border: 0;
    color: $black;
    cursor: pointer;
    display: flex;
    font-family: $body-font;
    font-size: 15px;
    font-weight: 600;
    height: 36px;
    justify-content: space-between;
    line-height: 28px;
    padding: 5px 16px 6px;
    transition: background 0.1s ease-out, box-shadow 0.15s cubic-bezier(0.47, 0.03, 0.49, 1.38);
    user-select: none;
    white-space: nowrap;
}

.btn.small {
    padding: 2px 10px 3px;
}

.btn.mini {
    font-size: 85%;
    padding: 0 7px;
}

.btn:hover {
    background: $grey-medium-light;
    border-color: $grey-medium-light;
}

.btn:active {
    box-shadow: 0 0 0 2px $blue;
}

.btn.primary {
    background: $blue;
    border-color: $blue;
    color: $white;
}

.btn.primary:hover {
    background: $blue-hover;
    border-color: $blue-hover;
}

.btn.secondary {
    background: $blue-pale;
    border-color: $blue-pale;
    color: $dark-blue;
}

.btn.secondary:hover {
    background: $blue-pale-hover;
    border-color: $blue-pale-hover;
}

.btn.success {
    background: $green;
    border-color: $green;
    color: $white;
}

.btn.success:hover {
    background: $green-hover;
    border-color: $green-hover;
}

.btn.warning {
    background: $hot-pink;
    border-color: $hot-pink;
    color: $white;
}

.btn.warning:hover {
    background: $hot-pink;
    border-color: $hot-pink;
    color: $white;
    opacity: 0.9;
}

.btn.cancel {
    background: $red;
    border-color: $red;
    color: $white;
}

.btn.cancel:hover {
    background: $red;
    border-color: $red;
    color: $white;
    opacity: 0.9;
}

.btn.disabled {
    background: transparent;
    color: $grey-dark;
    cursor: not-allowed;
    pointer-events: none;
}