﻿button.sh-button {
    outline: none;
    border: none;
    font-weight: 600;
    line-height: 20px;
    font-size: 14px;
    background-color: transparent;
    color: var(--baseTextColor);
    min-width: 100px;
    height: 36px;
    padding: 0 15px;
    box-shadow: none;
    cursor: pointer;
}

button.sh-button.inverted {
    color: var(--primaryInvertedColor);
}

button.sh-button.primary.raised {
    background-color: var(--primaryColor);
    color: var(--primaryInvertedColor);
}

button.sh-button.warning.raised {
    background-color: var(--warningColor);
    color: var(--buttonPrimaryTextColor);
}

button.sh-button.primary:not(.raised) {
    color: var(--primaryColor);
}

button.sh-button.raised {
    border-radius: 4px;
    background-color: var(--secondaryButtonBackgroundColor);
}

button.sh-button.raised.no-chrome {
    border-radius: 0;
    box-shadow: none;
}

button.sh-button:disabled {
    opacity: 0.6;
    box-shadow: none;
    cursor: auto;
}

button.sh-button.raised:active:enabled,
button.sh-button.raised:focus:enabled,
button.sh-button.raised:hover:enabled {
    box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.4);
}

button.sh-button:not(.raised):active {
    background-color: var(--secondaryButtonBackgroundColor);
}

button.sh-button:not(.raised):hover:enabled {
    background-color: transparent;
    color: var(--primaryColor);
}

button.sh-button:not(.raised):hover:enabled.inverted {
    background-color: transparent;
    color: var(--primaryInvertedColor);
    opacity: 0.7;
}

button.sh-button.icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    line-height: 0;
}

button.sh-button.icon.small {
    width: 24px;
    height: 24px;
    min-width: 24px;
}

button.sh-button.icon.circle,
button.sh-button.icon.circle:hover {
    border-radius: 50%;
    color: var(--primaryInvertedColor);
    background-color: var(--primaryColor);
}

button.sh-button.text {
    height: auto;
    padding: 0;
    min-width: auto;
    line-height: 1.2;
    color: var(--buttonTextColor);
    text-align: left;
}

button.sh-button.text:hover:enabled {
    opacity: 0.8;
}

button.sh-button.link {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    min-width: 0;
    background-color: transparent;
    border: none;
    color: var(--primaryColor);
    padding: 4px;
    box-shadow: none;
    cursor: pointer;
}

button.sh-button.link:hover:enabled {
    text-decoration: underline;
    opacity: 0.8;
}

button.sh-button.outlined {
    text-align: center;
    border-radius: 4px;
    background-color: transparent;
    border: 1px solid var(--primaryColor);
    color: var(--primaryColor);
    padding: 0 15px;
    cursor: pointer;
}

button.sh-button.outlined:hover:enabled {
    background-color: var(--primaryColor);
    color: var(--primaryInvertedColor);
    transition: all 0.2s ease-in-out;
}

button.sh-button.outlined.secondary {
    border: 1px solid var(--secondaryColor);
    color: var(--secondaryColor);
}

button.sh-button.outlined.secondary:hover:enabled {
    background-color: var(--secondaryColor);
    color: var(--primaryInvertedColor);
    transition: all 0.2s ease-in-out;
}

button.sh-button.small {
    font-size: 12px;
}

button.sh-button.full-width {
    width: 100%;
}
