@media (max-width: 500px) {
    .agy-tab-header-wrapper {
        display: block;
        width: 100%
    }

    span.agy-tablinks {
        padding: 0 25px;
    }

    div.agy-tabcontent input.agy-settings-color, div.agy-tabcontent input.agy-settings-field, div.agy-tabcontent textarea.agy-settings-field {
        width: 100% !important
    }

    input#agy-save-changes-btn {
        width: 100%
    }

    .agy-tab-center, .agy-tab-left {
        width: 100% !important;
        display: block;
        text-align: left !important
    }

    .agy-tab-right {
        text-align: center !important;
        width: 100% !important
    }

    span.agy-version {
        padding: 15px 5px !important;
        font-size: 12px !important
    }

    .agy-tab-header-wrapper-center, .agy-tab-header-wrapper-left, .agy-tab-header-wrapper-right {
        display: block;
        width: 100%
    }

    .agy-tab {
        display: block !important;
        width: 100% !important
    }

    img.agy-logo {
        display: none
    }

    .agy-tab span {
        margin: 0 !important
    }

    div.agy-tabcontent input.agy-settings-color, div.agy-tabcontent input.agy-settings-field, div.agy-tabcontent textarea.agy-settings-field {
        width: 100%
    }
}

.agy-tab-header-wrapper {
    display: inline-flex;
    width: 100%
}

img.agy-logo {
    width: 55px;
    position: relative;
    bottom: 5px
}

.agy-tab-header-wrapper-center, .agy-tab-header-wrapper-left, .agy-tab-header-wrapper-right {
    display: grid;
    width: 33%
}

.agy-tab {
    margin: 20px 0;
    background: #fff;
    padding: 15px 0 0 0;
    border-radius: 5px;
    display: inline-flex;
    width: 100%
}

.agy-tab-left {
    width: 50%;
    text-align: left;
    padding: 0 0 0 30px;
}

.agy-tab-right {
    width: 50%;
    text-align: right
}

.agy-tab span {
    font-size: 18px;
    font-weight: 600;
    background: 0 0;
    border: none;
    cursor: pointer;
    width: 33%;
    text-align: left;
    margin: 0 30px 0 0
}

.agy-tab span, a.agy-tablinks {
    color: #687b95;
    text-decoration: none
}

.agy-tab span:hover, span.agy-version a:hover {
    color: #000
}

span.agy-version:last-child:hover {
    color: #687b95
}

.agy-tab span.agy-active {
    border-bottom: 2px solid #e0061a;
    color: #000
}

/*span.agy-tablinks {*/
/*    padding: 15px 25px*/
/*}*/

span.agy-version {
    cursor: default
}

div#agy-tab1 h2, div#agy-tab2 h2, div#agy-tab3 h2 {
    padding: 20px 0 0 0;
    font-size: 21px
}

p.agy-desc {
    font-size: 18px;
    color: #687b95;
    padding: 0 0 20px 0
}

small.agy-field-desc {
    color: #687b95;
    display: flex;
    padding: 3px 5px
}

.agy-tabcontent {
    animation: showUpEffect 1s
}

@keyframes showUpEffect {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.agy-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px
}

.agy-switch input {
    opacity: 0;
    width: 0;
    height: 0
}

.agy-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(249, 31, 53, .3);
    -webkit-transition: .4s;
    transition: .4s
}

.agy-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s
}

input:checked + .agy-slider {
    background-color: #e0061a
}

input:focus + .agy-slider {
    box-shadow: 0 0 1px #e0061a
}

input:checked + .agy-slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px)
}

.agy-slider.agy-round {
    border-radius: 34px
}

.agy-slider.agy-round:before {
    border-radius: 50%
}

div.agy-tabcontent input.agy-settings-color, div.agy-tabcontent input.agy-settings-field, div.agy-tabcontent textarea.agy-settings-field {
    width: 500px;
    border: 1px solid rgba(224, 6, 26, .3);
    border-radius: 5px
}

div.agy-tabcontent input.agy-settings-color:focus, div.agy-tabcontent input.agy-settings-field:focus, div.agy-tabcontent textarea.agy-settings-field:focus {
    border: 1px solid #e0061a;
    box-shadow: none
}

.agy-tab {
    top: 30px;
    position: sticky;
    z-index: 9999
}

.agy-setting-wrapper {
    background: #fff;
    border-radius: 5px;
    padding: 15px 20px 7px 20px;
    box-shadow: 0 1px 1px rgb(0 0 0 / 4%)
}

#agy-wrap table.form-table th {
    font-size: 16px
}

input#agy-save-changes-btn {
    font-size: 16px;
    font-weight: 600;
    background: #e0061a;
    border: 1px solid #e0061a;
    border-radius: 5px;
    color: #fff;
    padding: 10px 40px
}

input#agy-save-changes-btn:active, input#agy-save-changes-btn:focus, input#agy-save-changes-btn:hover, input#agy-save-changes-btn:visited {
    background: #f91f35;
    border: 1px solid #f91f35;
    box-shadow: none
}

table.agy-status-log tr td, table.agy-status-log tr th {
    text-align: left;
    padding: 0 30px 0 0;
}

.agy-status-wrapper {
    padding: 10px 0;
    color: #687b95;
}

.agy-status-container {
    width: 70%;
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: justify;
    border-radius: 5px;
    background-color: #fff;
}

.agy-status-container::-webkit-scrollbar {
    width: 3px;
    background-color: transparent;
}

.agy-status-container::-webkit-scrollbar-thumb {
    background-color: #e0061a;
    border-radius: 20px;
}

button.agy-copy-clipboard {
    margin: 0 0 20px 0 !important;
}

table.agy-status-log tr {
    vertical-align: top;
}

.agy-copied-message {
    position: relative;
    bottom: 15px;
    color: #687b95;
    font-size: 12px;
    left: 5px;
}