﻿.tab {
    display: none;
}

.regex-result {
    height: 40px;
    margin: 0 0 0 0;
    border: 1px solid;
    padding: 0 10px;
    display: flex;
    align-items: center;
    color: white;
    border-radius: .25rem;
    justify-content: center;
    width: 100px;
}

.box {
    background-color: white;
    box-shadow: 0 0 4px #D8D8D8;
    border: 1px solid #f8f8f8;
    border-radius: .25rem;
}

.z-auto {
    z-index: auto;
}

.z-1 {
    z-index: 1;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

mark {
    padding: 0;
}

/* toggle button */

.toggle {
    position: relative;
    display: inline-block;
    height: 28px;
    width: 50px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .toggle .slider:before {
        position: absolute;
        content: "";
        width: 20px;
        height: 20px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }
.toggle input {
    height: 28px;
    width: 50px;
    border-radius: 28px;
    z-index: 99;
    position: absolute;
    opacity: 0;
    margin: 0;
}
    .toggle input:checked + .slider {
        background-color: #3b82f6;
    }

    .toggle input:focus + .slider {
        box-shadow: 0 0 0 3px rgba(59,130,246,.4);

    }

.toggle input:checked + .slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}

.toggle .slider.round {

    border-radius: 34px;
}

.toggle .slider.round:before {
        border-radius: 50%;
    }

.color-input-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
