@import "switcher/switcher";

.flexizoom-admin {
    .form-group {
        position: relative;
        input[type=checkbox] {
            &:before {
                display: none;
            }
        }
        .form-check {
            font-size: 1.5rem;
        }
    }

    .custom-range {
        width: 100%;
    }

    input:disabled {
        cursor: not-allowed;
    }

    &-pro-only {
        flex-wrap: nowrap;
        color: maroon;
        align-items: center;
        justify-content: flex-end;
        display: flex;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        font-size: 10px;
        z-index: 2;
        width: 130px;
    }

    &-logo {
        max-width: 100%;
        max-height: 50px;
        margin-left: 15px;
    }

    &-preview {
        position: sticky;
        top: 40px;
        max-width: 300px;

        h4 {
            border-bottom: 2px solid #000;
            margin-bottom: 15px;
            padding-bottom: 10px;
        }

        .flexi-zoom-main-container {

        }

        .flexi-zoom-others-container {
            .splide__slide {
                img {
                    max-height: 100px;
                }
            }
        }
    }

    &-form-group-desc {
        font-style: italic;
        font-size: .7rem;
        color: #444;
        padding: 0 15px;
        max-width: 200px;
    }

    &-zoom-level-value {
        margin-left: 15px;
        border-radius: 20px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 3px solid #dee2e6;
        width: 40px;
    }

    &-text-small {
        font-size: .9rem;
    }

    &-save-button {
        position: sticky;
        bottom: 0;
        z-index: 9;

        &-changed {
            font-size: 12px;
            color: #007bff;
            font-style: italic;
            margin-right: 15px;
            opacity: 0;
            transition: opacity .2s linear;
        }

        &-shadow {
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
            border-radius: 100%;
            height: 20px;
            width: 100%;
            position: absolute;
            top: 1px;
            z-index: 1;
        }

        &-wrapper {
            background: #fff;
            padding: 15px;
            text-align: right;
            height: 100%;
            position: relative;
            z-index: 2;
        }
    }

    &-input-has-right-label {
        position: relative;

        input {
            padding-right: 30px;
        }

        span {
            display: flex;
            height: 32px;
            justify-content: center;
            align-items: center;
            position: absolute;
            right: 0;
            padding: 0 10px;
            top: 0;
            font-size: .7rem;
        }
    }

    &-group {
        margin: 25px 0;

        &-title {
            padding: 15px 25px;
            background: #f2f2f2;
            border-bottom: 1px solid #ccc;
            border-radius: 15px 15px 0 0;
        }

        &-items {
            padding: 15px;
            background: #f2f2f2;
            .form-group {
                margin-bottom: 15px;
                &:last-child {
                    margin-bottom: 0;
                }
            }
        }
    }

    input[type="text"],
    input[type="number"],
    select {
        max-width: 185px;
    }

    .dashicons {
        position: relative;
        top: 2px;
    }

    .btn {
        &-group {
            & > .btn {
                min-width: 80px;
            }
        }

        &-outline-secondary {
            &.disabled {
                cursor: not-allowed;
            }

            &:not(.disabled):not(.active):hover {
                background-color: rgba(#6c757d, .2);
                color: #6c757d;
                border-color: #6c757d;
            }
        }
    }

    .wp-picker-container {
        position: relative;

        button {
            margin: 0;
        }

        label {
            margin: 0 0 0 5px;
        }

        .wp-picker-holder {
            position: absolute;
            top: 100%;
            left: 0;
            z-index: 99;
        }
    }

}

.custom-control-label {
    padding-left: 20px;

    &:after {

    }

    &:before {

    }
}

.text {
    &-color {
        &-gray {
            color: #666;

            &-light {
                color: #999;
            }

            &-dark {
                color: #ccc;
            }
        }
    }

    &-style {
        &-italic {
            font-style: italic;
        }

        &-bold {
            font-weight: bold;
        }
    }

    &-size {
        &-small {
            font-size: .75rem;
        }

        &-medium {
            font-size: .9rem
        }

        &-normal {
            font-size: 1rem;
        }

        &-large {
            font-size: 1.5rem;

            &-x2 {
                font-size: 2rem;
            }
        }
    }
}

body {
    .tooltip {
        .arrow {
            margin-left: 0;

            &:after {
                display: none;
            }
        }
    }
}

