/* Buttons */
.btn {
    display: inline-flex;
    height: 35px;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    outline: none;
    padding: 0 5px;
    min-width: 50px;
    cursor: pointer;
    text-align: center;
}

.btn + .btn {
    margin-left: 10px;
}

.btn .spinner {
    display: none;
    position: absolute;
    border-top-color: #fff;
    border-right-color: #fff;
    border-bottom-color: #fff;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,.1));
    z-index: 0;
}

.btn > .btn-label {
    font-size: .7rem;
    z-index: 1;
    font-weight: 500;
    color: #333;
    pointer-events: none;
}

.btn:focus {
    box-shadow: 0 0 0 2px #000;
}

.btn:hover:not([disabled]):before {
    background: linear-gradient(rgba(0,0,0,.04), rgba(0,0,0,.04));
}

.btn:active:not([disabled]):before {
    background: rgba(0,0,0,0.08);
}

.btn[disabled] {
    background-color: #eee;
    color: #999;
    pointer-events: none;
    cursor: not-allowed;
}

.btn-label {
    font-size: inherit;
}

.btn-large {
    width: 100%;
    height: 48px;
}

.btn-action {
    border: 1px solid var(--theme-color);
    background: var(--theme-color);
    color: #fff;
}

.btn-action > .btn-label {
    color: #fff;
    font-weight: 600;
}

.btn-action[disabled] {
    border-color: #ffe3c5;
    background: #ffe3c5;
}

.btn-secondary {
    border: none;
    background: transparent;
}

.btn-secondary > .btn-label {
    color: var(--theme-color);
    font-weight: 600;
}

.btn-secondary:before {
    background: none;
}

.btn-secondary:hover:before {
    background: #fafafa;
}

.btn-secondary[disabled] > .btn-label {
    color: #ccc;
}

.btn-delete {
    border: none;
    background: transparent;
}

.btn-delete > .btn-label {
    color: #f00;
    font-weight: 600;
}

.btn-delete:before {
    background: none;
}

.btn-delete:hover:before {
    background: #fafafa;
}

.btn-delete[disabled] > .btn-label {
    color: #ccc;
}

.btn-options:before {
    content: none;
}

.btn-options > .link-theme:after {
    content: '';
    display: inline-block;
    background-image: url('/assets/svg/icon-arrow-down-theme.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    margin: 1px 0 0 6px;
    padding: 5px;
}

.btn-options {
    border: none;
    text-transform: capitalize;
    font-size: 0.9rem;
}

.list-options {
    position: absolute;
    background: #fff;
    border: 1px solid #f3f3f3;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all .17s ease-in-out;
    margin-top: 10px;
    z-index: 1;
    min-width: 140px;
    transform: translatex(-25%);
}

.list-options .option:last-child {
    border-top: 1px solid #e8e8e8;
}

.btn-options.active .list-options {
    opacity: 1;
    visibility: visible;
}

.list-options .option-label {
    display: block;
    padding:  15px 10px;
    font-size: 0.875rem;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    width: 100%;
    text-align: center;
}

.list-options .option-label:hover {
    background: #f8f8f8;
}

.sending .btn-action[disabled] .spinner {
    display: block;
}

.sending .btn-action[disabled] .btn-label {
    visibility: hidden;
}

.buttons-group {
    display: flex;
}

.buttons-group.to-right {
    justify-content: flex-end;
}

.buttons-group .btn-large {
    flex-grow: 1;
}

.buttons-group .btn-large + .btn-large {
    margin-left: 5%;
}

.btn-minor {
    font-size: 0.8em;
    padding: 10px;
    height: 35px;
}

.fresh-theme__wrapper {
    display: flex;
    flex-direction: column
}

.btn-install-clear-theme[data-version^="2."] {
    order: 1000
}

.btn-install-clear-theme {
    margin: 10px 0 20px
    ;
}

@media (max-width: 1019px) {
    .btn-install-clear-theme {
        margin-bottom: 30px;
    }
}