/* WordPress Admin Dashboard Styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #f0f0f1;
    margin: 0;
    padding: 0;
}

.container {
    background: #f0f0f1;
    margin: 20px;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.tabs {
    display: flex;
    background: transparent;
    border-bottom: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.tabs label {
    background: #f6f7f7;
    border: 1px solid #c3c4c7;
    color: #2271b1;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    margin: 0 6px -1px 0;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 3px 3px 0 0;
    transition: all 0.1s ease-in-out;
}

.tabs label:hover {
    background: #fff;
    color: #135e96;
}

.tabs input[type="radio"] {
    display: none;
}

input[type="radio"]:checked+label {
    background: #fff;
    border-bottom-color: #fff;
    color: #1d2327;
    font-weight: 600;
}

.tab-content {
    display: none;
    background: #fff;
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    min-height: 500px;
    max-height: 600px;
    overflow: auto;
    padding: 1.5rem;
    margin-bottom: 20px;
    width: 75dvw;
}

.tab-content-inner {
    padding: 20px;
}

#tab1:checked~#content1,
#tab2:checked~#content2,
#tab3:checked~#content3 {
    display: block;
}

.download-log-btn {
    background: #f48320;
    border: 1px solid #f48320;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 400;
    padding: .5rem;
    text-decoration: none;
    min-width: 10rem;
    
    .button-spinner-img {
        width: 1.2rem;
        aspect-ratio: 1;
        text-align: center;
    }

    .text {
        text-align: center;
        width: 100%;
    }
}


.download-log-btn:hover,
.download-log-btn:focus {
    background: #f48320;
    border-color: #f48320;
    color: #fff;
}

.download-log-btn:disabled {
    background: #787c82;
    border-color: #787c82;
    color: #fff;
    cursor: default;
}

.tab-content::-webkit-scrollbar {
    width: 12px;
}

.tab-content::-webkit-scrollbar-track {
    background: #f6f7f7;
}

.tab-content::-webkit-scrollbar-thumb {
    background: #c3c4c7;
    border-radius: 6px;
}

.tab-content::-webkit-scrollbar-thumb:hover {
    background: #8c8f94;
}

@media (max-width: 782px) {
    .container {
        margin: 10px;
    }

    .tabs {
        flex-direction: column;
    }

    .tabs label {
        margin: 0 0 1px 0;
        border-radius: 3px;
        text-align: left;
    }

    input[type="radio"]:checked+label {
        border-bottom-color: #c3c4c7;
    }

    .tab-content {
        min-height: 300px;
        max-height: 400px;
    }

    .tab-content-inner {
        padding: 15px;
    }

    .wp-header h1 {
        font-size: 20px;
    }

    .download-log-btn,
    .download-log-btn-with-spinner {
        font-size: .75rem;
        line-height: 2;
        padding: 0 8px;
    }
}