.etv-header-text{
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}
.etv-header-text h1{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: #16191a;
    margin: 0;
    padding: 0;
}
.etv-header-text p{
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #16191a;
    margin: 0;
    padding: 0;
}
.etv-header-text img{
    width: 70px;
}
.etv-wrap-main {
    display: flex;
    gap: 20px;
    align-items: flex-start;

}


.etv-wrap-main .nav-tab-wrapper a {
    margin-right: 10px;
    padding: 8px 10px;
    margin: 5px 0;
    cursor: pointer;
    transition: all .2s ease-in-out;
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #16191a;
    text-align: center;
    text-decoration: none;
    user-select: none;
    background-color: #fff;
    border: none;
}

.etv-wrap-main .nav-tab-wrapper a:hover {
    background: #f9f9f9;
}

.etv-wrap-main .nav-tab-wrapper {
    margin-bottom: 20px;
}

.etv-wrap-main .nav-tab-wrapper {
    display: grid;
    width: 250px;
    border: 0 solid transparent;
    box-shadow: rgba(99, 99, 99, .2) 0 2px 8px 0;
    background: #fff;
    overflow: hidden;
    margin-top: 20px;
    position: sticky;
    top: 121px;
}

.etv-wrap-content {
    width: 100%;
}

/* Main container */
.etv-wrap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 0 20px;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
    margin-left: -20px;
    position: sticky;
    top: 32px;
    z-index: 9;
}

/* Main container */
.etv-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.etv-left-box,
.etv-right-box {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
}


.etv-left-box {
    width: 70%;
}

.etv-right-box {
    width: 30%;
}

/* Switch controls */
.etv-switch-container-area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.etv-switch-container {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.etv-sa-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.etv-switch-auto-save {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    gap: 40px;
}

.etv-switch {
    position: relative;
    display: inline-block;
    width: 49px;
    height: 23px;
    vertical-align: middle;
    margin-right: 10px;
}

.etv-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.etv-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.etv-slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.etv-slider {
    background-color: #2271b1;
}

input:checked+.etv-slider:before {
    transform: translateX(26px);
}

.etv-slider.round {
    border-radius: 34px;
}

.etv-slider.round:before {
    border-radius: 50%;
}

.etv-switch-label {
    vertical-align: middle;
    font-weight: 600;
}

/* Role grid */
.etv-role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.etv-role-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
}

.etv-role-box h4 {
    margin-top: 0;
    margin-bottom: 0px;
}

/* Form groups */
.etv-form-group {
    margin-bottom: 20px;
}

.etv-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.etv-form-group .description {
    color: #666;
    margin-top: 15px;
    font-size: 15px;
}

/* Color picker */
.color-picker {
    width: 100px !important;
}

/* Customizer */
.etv-sortable-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
    min-height: 100px;
}

.etv-admin-bar-item {
    padding: 10px;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    cursor: move;
    display: flex;
    align-items: center;
}

.etv-admin-bar-item:hover {
    background: #f0f0f0;
}

.etv-admin-bar-item .dashicons-menu {
    margin-right: 10px;
    color: #aaa;
}

.etv-item-title {
    flex-grow: 1;
}

.etv-item-actions {
    margin-left: auto;
}

.etv-item-actions a {
    text-decoration: none;
    color: #555;
    margin-left: 5px;
}

.etv-item-actions a:hover {
    color: #2271b1;
}

#etvwp-item-editor {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.etv-form-actions {
    margin-top: 20px;
}

/* Quick links */
.etv-quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* Logo preview */
.etv-logo-preview {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border: 1px dashed #ddd;
    display: inline-block;
}

#etvwp-import-settings {
    display: block;
}

.etv-tools {
    display: flex;
    align-items: center;
    gap: 40px;
}

.etv-tools-title {
    width: 200px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.etv-tools-title::after {
    content: ':';
    display: inline-block;
}

.etv-box {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 20px;
    margin-right: 20px;
}

#wpadminbar #wp-admin-bar-custom-logo .ab-item {
    padding: 0 7px;
}

#wpadminbar #wp-admin-bar-custom-logo .ab-item img {
    height: 20px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

#etvwp-export-settings {
    background-color: #b4d8e7;
    color: #1f4e6e;
    cursor: pointer;
    width: max-content;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid transparent;
    line-height: 1;
    text-decoration: none;
    transition: all .2s ease-in-out;
    font-size: .875rem;
}

#etvwp-export-settings:hover {
    background-color: #00a5e6;
    color: #00558f;
}

#etvwp-import-settings {
    background-color: #b4d8e7;
    color: #1f4e6e;
    cursor: pointer;
    width: max-content;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid transparent;
    line-height: 1;
    text-decoration: none;
    transition: all .2s ease-in-out;
    font-size: .875rem;
}

#etvwp-import-settings:hover {
    background-color: #00a5e6;
    color: #00558f;
}

#etvwp-reset-settings {
    background-color: #f8d7da;
    color: #d8000c;
    cursor: pointer;
    width: max-content;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid transparent;
    line-height: 1;
    text-decoration: none;
    transition: all .2s ease-in-out;
    font-size: .875rem;
}

#etvwp-reset-settings:hover {
    background-color: #f5c6cb;
    color: #a71d2a;
}

/*css for onclick radio button*/
.etv-button-position {
    display: flex;
}

.etv-radio-button {
    margin-right: 10px;
}

.etv-radio-button input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.etv-radio-button label {
    background-color: #eee;
    padding: 7px 15px;
    font-size: 16px;
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
}

.etv-radio-button label:hover {
    background-color: #2271b1;
    color: #fff;
    border: 1px solid #2271b1;
}


.etv-radio-button input[type="radio"]:focus+label {
    border: 1px solid #444;
}

.etv-radio-button input[type="radio"]:checked+label {
    background-color: #2271b1;
    border-color: #2271b1;
    color: #fff;
    cursor: pointer;
}


/* //upload logo button css */
#etvwp_custom_logo {
    background-color: #eee;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 7px 15px;
    color: #000;
}
#etvwp_custom_logo_url {
    background-color: #eee;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 7px 15px;
    color: #000;
}

.etvwp-upload-logo {
    background-color: #eee;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    padding: 9px 15px;
    border: 1px solid #2271b1;
    margin: 0 10px;
}

.etvwp-upload-logo:hover {
    background-color: #2271b1;
    color: #fff;
}
.etvwp-remove-logo {
    background-color: #a71d2a;
    font-size: 16px;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    padding: 9px 15px;
    border: 1px solid #a71d2a;
}

.etvwp-remove-logo:hover {
    background-color: #f5c6cb;
    color: #a71d2a;
    
}

/* etv disabled */
.etv-disabled {
    opacity: 0.7;
    cursor: default;
    pointer-events: none;
    user-select: none;
    position: relative;
}

.etv-disabled::before {
    content: "Coming soon";
    /* display: flex;
    align-items: center;
    justify-content: center; */
    position: absolute;
    top: -18px;
    left: 65px;
    width: max-content;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2px 5px;
    border-radius: 3px;
    color: #fff;
    z-index: 9999;
}






















/* Responsive */
@media (max-width: 1200px) {
    .etv-container {
        flex-direction: column;
    }

    .etv-left-box,
    .etv-right-box {
        width: 100%;
    }
}

@media (max-width: 782px) {
    .etv-role-grid {
        grid-template-columns: 1fr;
    }
}