.ads-txt-mb-theme {
    width: 100%;
    margin: 15px auto;
}

.ads-txt-mb-top-bar {
    width: 100%;
    background-color: #f9f9f9;
    border: solid 1px #e9e9e9;
    min-height: 5vh;
    padding: 8px 15px;
    box-sizing: border-box;
}

.ads-txt-mb-top-bar small {
    font-style: italic;
    display: block;
    color: #878787;
    margin-bottom: 5px;
}

.mb-file-switch {
    display: flex;
    gap: 10px;
}

.mb-switch-btn {
    padding: 8px 16px;
    border: 1px solid #eeeeee;
    background-color: #ffffff;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.mb-switch-btn>svg{
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.mb-switch-btn.active {
    background-color: #4068e6;
    color: white;
    border-color: #007cba;
}
.mb-switch-btn.active .st0{
    fill: #fff !important
}
.mb-switch-btn.active #SVGRepo_iconCarrier>path{
    stroke: #fff !important;
}

#open_txt {
    /* font-size: 14px; */
    cursor: pointer;
    &:hover{
        color: #3f5ade;
        text-decoration: underline;
    }
}

.ads-txt-mb-main {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.ads-txt-wrapper {
    width: 60%;
    margin: 0px 20px 20px 0px;
}

.mb-cheese-day {
    width: auto;
    /* margin: 20px 0px; */
}
@media (max-width:500px) {
    .ads-txt-mb-main {
        flex-wrap: wrap;
    }
    .ads-txt-wrapper{
        width: 100%;
    }
}

.editor-container {
    display: flex;
    border: 1px solid #ccc;
    background: #fdfdfd;
    font-family: monospace;
    height: 600px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.line-numbers {
    background: #f0f0f0;
    padding: 10px;
    text-align: right;
    user-select: none;
    color: #999;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    line-height: 1.5;
    font-size: 14px;
    scrollbar-width: none;
}

#ads-txt-editor {
    flex-grow: 1;
    padding: 10px;
    border: none;
    resize: none;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    height: 100%;
    overflow: auto;
    background: #fff;
    box-shadow: none;
}

#ads-txt-popup {
    padding: 20px;
    background: #f2f2f2;
    border: 1px solid #ccc;
    margin-top: 20px;
}

/* Save Button */
#save-ads-txt {
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 14px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

#save-ads-txt:hover {
    background-color: #005e8a;
}

/* Backup List */
#backup-list {
    margin-top: 10px;
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 13px;
}

#backup-list code {
    max-height: 47px;
    font-size: 11px;
    overflow: scroll;
    display: block;
    padding: 10px;
    background-color: #f4f4f4;
    border-left: 3px solid #0073aa;
    margin-bottom: 5px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

#backup-list small {
    font-style: italic;
    display: block;
    color: #878787;
    margin-bottom: 5px;
}

#backup-list .backup-buttons{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
}

#backup-list button.restore-backup,
#backup-list button.delete-backup {
    padding: 5px 10px;
    font-size: 12px;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

#backup-list button.restore-backup {
    background-color: #46b450;
}

#backup-list button.delete-backup {
    background-color: #cd0000;
}

#backup-list button.restore-backup:hover {
    background-color: #359c3e;
}

#backup-list button.delete-backup:hover {
    background-color: #bd0c0c;
}


/* ads txt popup */

#ads-txt-popup {
    padding: 20px;
    background: #fff8e1;
    border: 1px solid #f7c948;
    border-left: 5px solid #f7c948;
    color: #856404;
    margin-top: 20px;
    font-size: 14px;
    border-radius: 4px;
}

#ads-txt-popup button#create-ads-txt {
    margin-top: 10px;
    padding: 6px 12px;
    background-color: #ff9800;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

#ads-txt-popup button#create-ads-txt:hover {
    background-color: #fb8c00;
}

/* Notification */
#ads-txt-notice {
    padding: 0px 15px;
    margin: 10px 0px;
    border: 1px solid #ccc;
    background-color: #e7f3fe;
    color: #0c5460;
    border-radius: 4px;
    display: none;
    transition: all 0.3s ease;
}

/* Loader */
#ads-txt-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #007cba;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.thank-you-note {
    padding: 8px 10px;
    /* background: #f1f1f1;  */
    border: solid 1px #dcdcdc;
    background: #ffffff;
    border-left: 4px solid #0073aa;
    margin: 20px auto;
}

.thank-you-note p {
    margin: 0%;
}