/* globals */
:root {
    /* Font Family */
    --font-family-default: 'Ubuntu', sans-serif;

    --wt-light: #bdbdbd;
    --wt-primary: #1D8DBE;
    --wt-grey: gray;
    --wt-black: #000;
    --wt-dark-grey: #595959;

    /* Custom Backend colors */
    --wt-backend-primary: #314c65;
    --wt-backend-secondary: #5a9bcd;
    --wt-backend-text: #ffffff;
    --wt-backend-pimary-button: #eac40c;

    /* Fallback colors - will be overridden by dynamic-colors.css when available */
    --wt-shop-primary: #091057;
    --wt-shop-primary-dark: #05063F;
    --wt-shop-primary-hover: #1326A1;
    --wt-shop-secondary: #FF6900;
    --wt-shop-secondary-darker: #CC4B02;
    --wt-shop-black: #111111;
    --wt-shop-white: #ffffff;
    --wt-shop-gray: #737373;
    --wt-shop-light-gray: #F7F7F8;
    --wt-shop-tertiary: #0077FF;
    --wt-shop-gradient-90: linear-gradient(0deg, #1326A1 0%, #05063F 50%, #091057 100%);

    /* Legacy color support */
    --primary-color: #091057;
    --secondary-color: #FF6900;
    --accent-color: #0077FF;
    --background-color: #ffffff;


    /* Modern Design System */
    --modern-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --modern-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --solid-primary: #667eea;
    --solid-secondary: #f093fb;
    --solid-success: #4facfe;
    --solid-warning: #43e97b;
    --solid-error: #fa709a;
}

/* font weight */
.text-bold{
    font-weight: 700;
}

.text-medium{
    font-weight: 500;
}

.text-regular{
    font-weight: 300;
}

/* text colors*/
.text-color-white{
    color: var(--wt-shop-white);
}

.text-color-black{
    color: var(--wt-shop-black);
}

.text-color-gray{
    color: var(--wt-shop-gray);
}

.text-color-light-gray{
    color: var(--wt-shop-light-gray);
}

.text-color-primary{
    color: var(--wt-shop-primary);
}

.text-color-secondary{
    color: var(--wt-shop-secondary);
}

.text-color-tertiary{
    color: var(--wt-shop-tertiary);
}

/*  background colors  */
.bg-color-white{
    background-color: var(--wt-shop-white);
}

.bg-color-black{
    background-color: var(--wt-shop-black);
}

.bg-color-gray{
    background-color: var(--wt-shop-gray);
}

.bg-color-light-gray{
    background-color: var(--wt-shop-light-gray);
}

.bg-color-primary{
    background-color:var(--wt-shop-primary);
}

.bg-color-secondary{
    background-color:var(--wt-shop-secondary);
}

.bg-color-tertiary{
    background-color:var(--wt-shop-tertiary);
}

/* spaces */
.space-top-yes {
    padding-top: 100px;
}

.space-bottom-yes {
    padding-bottom: 100px;
}

.space-top-no {
    padding-top: 0;
}

.space-bottom-no {
    padding-bottom: 0;
}


/* webthiker-blocks */
.wp-block {
    margin: 0 auto;
    max-width: 1100px;
}

div.webthiker-block {
    margin: 50px 0 50px;
    padding: 15px;
    border: 1px solid lightgrey;
    position: relative;
}

div.webthiker-block:before {
    content: "";
    width: 50px;
    height: 50px;
    background-image: url(//www.webthinker.de/static/webthinker-kompassrose.webp);
    position: absolute;
    background-size: cover;
    right: 20px;
    top: 15px;
    opacity: 0.25;
    transition: 0.5s;
}

div.webthiker-block:hover:before {
    opacity: 1;
}

div.webthiker-block h2,
div.webthiker-block h3,
div.webthiker-block h4,
div.webthiker-block h5,
div.webthiker-block h6 {
    margin: 0 0 15px;
}

div.webthiker-block h3 {
    color: #231e46;
    margin: 0 0 25px;
}

div.webthiker-block dt {
    font-weight: bold;
    margin-bottom: 5px;
}

div.webthiker-block dd img {
    width: 40%;
    margin: 20px;
    background-color: gray;
}
div.webthiker-block dd .btn-remove-img {
    margin-left: 10px;
}
div.webthiker-block dd .btn-remove-img.wt-image-not-present {
    display: none;
}

div.webthiker-block dt small {
    font-size: 12px;
    margin-left: 10px;
}

div.webthiker-block input:not([type=checkbox]):not([type=radio]),
div.webthiker-block select,
div.webthiker-block textarea {
    width: 100%;
    margin-bottom: 10px;
    border-color: #949494;
}

div.webthiker-block textarea {
    height: 150px;
}

div.components-panel div.block-editor-block-inspector div.components-base-control,
.webthiker-block-sidebar-element {
    padding: 0 16px;
}
div label.components-input-control__label {
    font-weight: bold;
}

div.webthiker-block dd p.label-text {
    line-height: 1;
    margin-bottom: 5px;
    font-size: 16px;
}
/* END - webthiker-blocks */



/* CPT */
div.wt-wrapper-cpt div hr {
    border: 1px solid var(--wt-shop-primary);
}
div.wt-wrapper-cpt div hr.m-hr {
    margin: 50px 0;
}
div.wt-wrapper-cpt hr.wt-seperator {
    margin: 25px 0;
    border: 1px solid var(--wt-shop-primary);
}

.wt-wrapper-cpt dd {
    margin-left: 0;
}

.wt-wrapper-cpt dt {
    font-weight: bold;
    margin-bottom: 3px;
}

.wt-wrapper-cpt .regular-text {
    width: 100%;
}

div.wt-wrapper-cpt div button.remove,
div.postbox button.add,
div.postbox button.add-row2,
.custom-post-button {
    cursor: pointer;
    background-color: var(--wt-shop-primary);
    color: white;
    border: 0;
    padding: 5px 10px;
    text-transform: uppercase;
    font-weight: 500;
}
div.wt-wrapper-cpt div button.remove:hover,
div.postbox button.add:hover,
div.postbox button.add-row2:hover,
.custom-post-button:hover {
    background-color: var(--wt-shop-primary);
    color: #fff;
}

div.postbox .cpt-element {
    margin: 0 0 50px 0;
    padding: 15px;
    border: 2px solid lightgrey;
    position: relative;
}

div.postbox .hexagon-active.cpt-element {
    border: 3px solid green;
}


div.postbox .cpt-element:hover {
    border: 2px solid var(--wt-shop-primary);
}
div.postbox .cpt-element div.sort-buttons {
    position: absolute;
    right: 15px;
    top: 15px;
}
div.postbox .cpt-element div.sort-buttons button {
    cursor: pointer;
    background-color: var(--wt-shop-primary);
    border: none;
}
div.postbox .cpt-element div.sort-buttons button span {
    color: #fff;
}
div.postbox .cpt-element div.sort-buttons button:hover {
    background-color: var(--wt-shop-primary);
}

div.postbox .cpt-element h3 {
    color: var(--wt-shop-primary);
    margin: 10px 0;
    font-size: 1.5em;
    padding-left: 35px;
    position: relative;
    cursor: pointer;
    width: 80%;
}

div.postbox .cpt-element div.cpt-remove {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

div.postbox div.cpt-box .click-area h3:before {
    content: "";
    border-style: solid;
    border-width: 12px 0 12px 12px;
    border-color: transparent transparent transparent var(--wt-shop-primary);
    position: absolute;
    left: 5px;
    top: 2px;
}
div.postbox div.cpt-box.active .click-area h3:before {
    border-width: 12px 12px 0 12px;
    border-color: var(--wt-shop-primary) transparent transparent transparent;
    top: 10px;
    left: -5px;
}

div.postbox div.cpt-box.active {
    padding-bottom: 25px;
}

div.postbox div.cpt-box div.content-area {
    display: none;
}
div.postbox div.cpt-box.active div.content-area {
    display: block;
}

.cpt-box .image-preview img {
    max-width: 50%;
    background-color: lightgray;
}

.cpt-box .image-preview-2 img {
    max-width: 50%;
    background-color: lightgray;
}


.cpt-box .image-preview img {
    width: 350px;
    height: auto;
    background-color: lightgray;
}


.cpt-box .image-preview-2 img {
    width: 350px;
    height: auto;
}
/* END - CPT */


/* cpt fields backend */
.box-container-fields {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 50px;
}

.box-container-fields p {
    font-weight: 700;
}

.box-container-fields div {
    width: 50%;
}
.box-container-fields input[type=text] {
    width: 100%
}

.location-box.cpt-box {
    padding: 20px;
}

/* shortcode style */


/* Modern Theme Options Design System */
li {
    list-style: none;
}

/* Modern Header Styles */
.wt-options-header {
    background: linear-gradient(135deg, var(--wt-shop-primary) 0%, var(--wt-shop-primary-hover) 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;

    position: relative;
    overflow: hidden;
}

.wt-options-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.wt-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.wt-header-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wt-header-icon i {
    font-size: 28px;
    color: var(--wt-shop-white);
}

.wt-header-title {
    color: var(--wt-shop-white);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wt-header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
    font-weight: 400;
}

/* Modern Layout System */
.wt-options-body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 2rem;
}

.wt-options-container {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--wt-shop-white);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-radius: 24px;

    border: 1px solid var(--wt-shop-light-gray);
    overflow: hidden;
    position: relative;
}

.wt-options-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.wt-options-layout {
    display: flex;
    min-height: 600px;
}

/* Modern Sidebar */
.wt-options-sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-right: 1px solid var(--wt-shop-light-gray);
    position: relative;
    z-index: 1;
}

.wt-options-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.wt-sidebar-header {
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--wt-shop-light-gray);
}

.wt-sidebar-logo {
    width: 50px;
    height: 50px;
    background: var(--wt-shop-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;

}

.wt-sidebar-logo i {
    font-size: 24px;
    color: var(--wt-shop-white);
}

.wt-sidebar-title {
    color: var(--wt-shop-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.wt-sidebar-nav {
    padding: 1rem 0;
}

.wt-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wt-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--wt-shop-gray);
    border-right: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-right: 8px;
    border-radius: 0 12px 12px 0;
    background: transparent;
    overflow: hidden;
    outline: none;
}

.wt-nav-item:focus {
    outline: 2px solid var(--wt-shop-primary);
    outline-offset: -2px;
}

.wt-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.wt-nav-item:hover::before {
    left: 100%;
}

.wt-nav-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.wt-nav-item span {
    flex: 1;
}

.wt-nav-indicator {
    width: 6px;
    height: 6px;
    background: var(--wt-shop-primary);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.wt-nav-item:hover {
    background: var(--wt-shop-primary);
    color: var(--wt-shop-white);


    border-right-color: rgba(255, 255, 255, 0.3);
}

.wt-nav-item:hover .wt-nav-indicator {
    opacity: 1;
    background: var(--wt-shop-white);
}

.wt-nav-item.active {
    background: var(--wt-shop-primary);
    color: var(--wt-shop-white);


    border-right-color: rgba(255, 255, 255, 0.5);
}

.wt-nav-item.active .wt-nav-indicator {
    opacity: 1;
    background: var(--wt-shop-white);
}

.wt-nav-item.active::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--wt-shop-primary);
}

/* Modern Main Content */
.wt-options-main {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    position: relative;
    z-index: 1;
}

.wt-tab-panels {
    position: relative;
    height: 100%;
}

.wt-tab-panel {
    display: none;
    padding: 0;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wt-tab-panel.active {
    display: block;
    opacity: 1;
    visibility: visible;
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wt-panel-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--wt-shop-light-gray);
    padding: 2rem;
    position: relative;
}

.wt-panel-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.wt-panel-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.wt-panel-icon {
    width: 48px;
    height: 48px;
    background: var(--wt-shop-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.wt-panel-icon i {
    font-size: 20px;
    color: var(--wt-shop-white);
}

.wt-panel-title {
    color: var(--wt-shop-primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.wt-panel-description {
    color: var(--wt-shop-gray);
    font-size: 0.95rem;
    margin: 0.25rem 0 0 0;
    font-weight: 400;
}

.wt-panel-content {
    padding: 2rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* Modern Field Groups */
.wt-field-group {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.wt-field-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    border-radius: 16px;
}

.wt-field-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 14px;
    color: var(--wt-shop-primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.wt-field-label i {
    font-size: 16px;
}

.wt-field-description {
    font-size: 13px;
    color: var(--wt-shop-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Theme Options inputs – same look as frontend (height, padding, border) */
.wt-input-field {
    width: 100%;
    min-height: 2.75rem !important;
    padding: .75rem 1rem !important;
    font-size: 1rem;
    line-height: 1.5 !important;
    color: var(--wt-shop-black) !important;
    background: var(--wt-shop-white);
    border: 1px solid #dee2e6 !important;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
}

.wt-input-field::before {
    content: none;
}

.wt-input-field:focus {
    outline: none;
    border-color: var(--wt-shop-primary);
    box-shadow: 0 0 0 3px rgba(9, 16, 87, 0.12);
}

.wt-input-field:hover {
    border-color: #adb5bd;
}

.wt-input-field::placeholder {
    color: var(--wt-shop-gray);
    opacity: 0.8;
}

/* Select in Theme Options – same height/padding as frontend */
select.wt-input-field {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px 14px;
}

/* Theme Options textarea – same look as input */
.wt-options-main textarea.wt-option-fields {
    width: 100%;
    min-height: 6rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--wt-shop-black);
    background: var(--wt-shop-white);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.wt-options-main textarea.wt-option-fields:focus {
    outline: none;
    border-color: var(--wt-shop-primary);
    box-shadow: 0 0 0 3px rgba(9, 16, 87, 0.12);
}

/* Footer tab field list */
.wt-footer-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.wt-footer-fields .wt-field-sep {
    margin: 0.5rem 0;
    border: 0;
    border-top: 1px solid var(--wt-shop-light-gray);
}

/* Modern Upload Container */
.wt-upload-container {
    position: relative;
    z-index: 1;
}

.wt-hidden-input {
    display: none;
}

.wt-upload-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.wt-image-preview {
    border-radius: 16px;
    overflow: hidden;
    background: var(--wt-shop-light-gray);
    border: 2px solid var(--wt-shop-light-gray);
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wt-preview-image {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;

}

.wt-preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--wt-shop-gray);
    padding: 2rem;
}

.wt-preview-placeholder i {
    font-size: 32px;
    opacity: 0.5;
}

.wt-preview-placeholder span {
    font-size: 14px;
    font-weight: 500;
}

/* Modern Buttons */
.wt-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;

    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
}

.wt-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.wt-btn:hover::before {
    left: 100%;
}

.wt-btn i {
    font-size: 16px;
}

.wt-btn-primary {
    background: var(--wt-shop-primary);
    color: var(--wt-shop-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wt-btn-primary:hover {
    background: var(--wt-shop-primary-hover);


}

.wt-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--wt-shop-gray);
    border: 1px solid var(--wt-shop-light-gray);
}

.wt-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--wt-shop-primary);


}

.wt-btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

/* Modern Footer */
.wt-options-footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-top: 1px solid var(--wt-shop-light-gray);
    padding: 1.5rem 2rem;
    position: relative;
}

.wt-options-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.wt-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.wt-footer-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--wt-shop-gray);
    font-size: 14px;
    font-weight: 500;
}

.wt-footer-info i {
    font-size: 16px;
}

.wt-footer-actions {
    display: flex;
    gap: 1rem;
}

.wt-btn-save {
    background: var(--wt-shop-secondary);
    color: var(--wt-shop-white);
    font-size: 16px;
    padding: 14px 28px;
}

.wt-btn-save:hover {
    background: var(--wt-shop-secondary-darker);
    transform: translateY(-3px);

}

/* Info Card */
.wt-info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: var(--wt-shop-primary);
}

.wt-info-card i {
    font-size: 24px;
    color: #3B82F6;
}

.wt-info-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 16px;
    font-weight: 600;
}

.wt-info-content p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* Modern Design Settings - Grid Layout */
.wt-design-colors-section {
    background: var(--wt-shop-white);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--wt-shop-light-gray);
    position: relative;
    overflow: hidden;
}

.wt-design-colors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    border-radius: 20px;
}

.wt-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wt-shop-primary);
    margin: 0 0 0.5rem 0;
    position: relative;
    z-index: 1;
}

.wt-section-title i {
    font-size: 1.25rem;
}

.wt-footer-icons-wrap {
    margin-bottom: 1rem;
}
.wt-footer-icon-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.wt-footer-icon-row label {
    font-weight: 500;
    margin: 0;
}
.wt-footer-icon-preview-wrap {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.04);
}
.wt-footer-icon-preview-wrap .wt-footer-icon-preview {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.wt-footer-icon-preview-placeholder {
    font-size: 10px;
    color: var(--wt-shop-gray, #737373);
}
.wt-footer-icon-preview-wrap:has(.wt-footer-icon-preview[data-empty="0"]) .wt-footer-icon-preview-placeholder {
    display: none !important;
}

/* Footer right column order (drag and drop) */
.wt-footer-order-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 320px;
}
.wt-footer-order-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--wt-shop-light-gray, #f7f7f8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    cursor: grab;
}
.wt-footer-order-item:active {
    cursor: grabbing;
}
.wt-footer-order-item.wt-footer-order-dragging {
    opacity: 0.6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.wt-footer-order-grip {
    color: var(--wt-shop-gray, #737373);
    display: flex;
    align-items: center;
}
.wt-footer-order-label {
    flex: 1;
    font-weight: 500;
}
.wt-footer-order-label .ph {
    margin-right: 0.25rem;
}
.wt-footer-order-item.wt-footer-order-drag-above {
    border-top: 2px solid var(--wt-shop-primary, #091057);
}
.wt-footer-order-item.wt-footer-order-drag-below {
    border-bottom: 2px solid var(--wt-shop-primary, #091057);
}

.wt-section-description {
    color: var(--wt-shop-gray);
    font-size: 0.95rem;
    margin: 0 0 2rem 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Color Grid Layout */
.wt-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* Color Category */
.wt-color-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wt-color-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    border-radius: 16px;
}

.wt-color-category:hover {


    border-color: rgba(255, 255, 255, 0.2);
}

.wt-category-header {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.wt-category-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--wt-shop-primary);
    margin: 0 0 0.5rem 0;
}

.wt-category-title i {
    font-size: 0.875rem;
    color: var(--wt-shop-secondary);
}

.wt-category-description {
    font-size: 0.875rem;
    color: var(--wt-shop-gray);
    margin: 0;
    line-height: 1.5;
}

/* Color Items Grid */
.wt-color-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 1;
}

/* Individual Color Item */
.wt-color-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}


.wt-color-item:hover {
}

.wt-color-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.wt-color-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wt-shop-primary);
    text-transform: capitalize;
}

.wt-color-value {
    font-size: 0.75rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    color: var(--wt-shop-gray);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

/* Modern Color Picker */
.wt-color-picker {
    width: 100%;
    height: 60px;
    border: 3px solid var(--wt-shop-light-gray);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--wt-shop-white);

    position: relative;
    overflow: hidden;
    outline: none;
}

.wt-color-picker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 16px;
    pointer-events: none;
}

.wt-color-picker:hover {
    border-color: var(--wt-shop-primary);


}

.wt-color-picker:focus {
    border-color: var(--wt-shop-primary);
    box-shadow: 0 0 0 4px rgba(9, 16, 87, 0.1), var(--modern-shadow-lg);

}

/* Color Actions */
.wt-color-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}


/* Code Editor Styles */
.wt-code-section {
    background: var(--wt-shop-white);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
    border: 1px solid var(--wt-shop-light-gray);
    position: relative;
    overflow: hidden;
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Ensure design colors section is always visible */
.wt-design-colors-section {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Social Media Grid Styles */
.wt-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.wt-social-item {
    background: var(--wt-shop-white);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--wt-shop-light-gray);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wt-social-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    border-radius: 16px;
}

.wt-social-item:hover {


    border-color: rgba(255, 255, 255, 0.2);
}

.wt-social-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.wt-social-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wt-social-icon:hover {
    transform: scale(1.1);
}

/* Social Media Brand Colors */
.wt-social-icon.facebook {
    background: linear-gradient(135deg, #1877F2, #42A5F5);
}

.wt-social-icon.instagram {
    background: linear-gradient(135deg, #E4405F, #F77737, #FCAF45);
}

.wt-social-icon.youtube {
    background: linear-gradient(135deg, #FF0000, #FF4444);
}

.wt-social-icon.linkedin {
    background: linear-gradient(135deg, #0077B5, #00A0DC);
}

.wt-social-icon.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0D8BD9);
}

.wt-social-icon.tiktok {
    background: linear-gradient(135deg, #000000, #FF0050);
}

.wt-social-icon.vimeo {
    background: linear-gradient(135deg, #1AB7EA, #0A9BC7);
}

.wt-social-icon.pinterest {
    background: linear-gradient(135deg, #BD081C, #E60023);
}

.wt-social-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.wt-social-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--wt-shop-primary);
    margin: 0 0 0.25rem 0;
}

.wt-social-description {
    font-size: 0.875rem;
    color: var(--wt-shop-gray);
    margin: 0;
    line-height: 1.4;
}

.wt-social-input {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.wt-social-input .wt-input-field {
    flex: 1;
    margin: 0;
}

.wt-social-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.wt-code-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    border-radius: 16px;
}

.wt-section-header {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.wt-code-editor {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;

    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.wt-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #2d2d2d;
    border-bottom: 1px solid #404040;
}

.wt-code-label {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.wt-code-actions {
    display: flex;
    gap: 0.5rem;
}

.wt-btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 12px;
    border-radius: 6px;
}

.wt-code-textarea {
    width: 100%;
    min-height: 300px;
    padding: 1rem;
    background: #1e1e1e;
    color: #d4d4d4;
    border: none;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    tab-size: 4;
}

.wt-code-textarea::placeholder {
    color: #666;
    font-style: italic;
}

.wt-code-textarea:focus {
    background: #1e1e1e;
    color: #d4d4d4;
}

.wt-code-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Legacy Design Colors (for backward compatibility) */
.design-colors {
    background: var(--wt-shop-white);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-radius: 20px;
    padding: 32px;
    margin: 24px 0;
    border: 1px solid var(--wt-shop-light-gray);
    position: relative;
    overflow: hidden;
}

.design-colors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    border-radius: 20px;
}

.design-colors h3 {
    color: var(--wt-shop-primary);
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--wt-shop-light-gray);
}

.design-colors h3:first-child {
    margin-top: 0;
}

.design-colors p {
    font-weight: 500;
    color: var(--wt-shop-black);
    margin: 8px 0;
    font-size: 14px;
}

.design-colors input[type="color"] {
    width: 70px;
    height: 50px;
    border: 3px solid var(--wt-shop-light-gray);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 16px;
    vertical-align: middle;
    background: var(--wt-shop-white);

    position: relative;
    overflow: hidden;
}

.design-colors input[type="color"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 16px;
    pointer-events: none;
}

.design-colors input[type="color"]:hover {
    border-color: var(--wt-shop-primary);


}

.design-colors input[type="color"]:focus {
    outline: none;
    border-color: var(--wt-shop-primary);
    box-shadow: 0 0 0 4px rgba(9, 16, 87, 0.1), var(--modern-shadow-lg);

}

.design-colors button {
    background: var(--solid-primary);
    color: var(--wt-shop-white);
    border: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    margin: 20px 12px 0 0;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.design-colors button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.design-colors button:hover {
    transform: translateY(-4px);

}

.design-colors button:hover::before {
    left: 100%;
}

.design-colors button:active {

    transition: all 0.1s ease;
}

.design-colors textarea {
    border: 2px solid var(--wt-shop-light-gray);
    border-radius: 16px;
    padding: 20px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    resize: vertical;
    min-height: 140px;
    background: var(--wt-shop-white);
    color: var(--wt-shop-black);

    position: relative;
    overflow: hidden;
}

.design-colors textarea::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.design-colors textarea:focus {
    outline: none;
    border-color: var(--wt-shop-primary);
    box-shadow: 0 0 0 4px rgba(9, 16, 87, 0.1), var(--modern-shadow-lg);

    background: var(--wt-shop-white);
}

.design-colors textarea:focus::before {
    left: 100%;
}

.design-colors textarea:hover {
    border-color: var(--wt-shop-primary);
    transform: translateY(-1px);

    background: var(--wt-shop-white);
}

.design-colors hr {
    border: none;
    height: 1px;
    background: var(--wt-shop-light-gray);
    margin: 24px 0;
    opacity: 0.3;
}

/* Modern Notification System */
.wt-notification-container {
    position: fixed;
    top: 32px;
    right: 20px;
    z-index: 999999;
    pointer-events: none;
}

.wt-notification-container .wt-notification {
    pointer-events: auto;
}

.wt-notification {
    background: var(--wt-shop-white);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--wt-shop-light-gray);
    border-left: 4px solid var(--wt-shop-primary);
    border-bottom: 4px solid var(--wt-shop-primary);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.wt-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    border-radius: 16px;
}

.wt-notification.show {
    transform: translateX(0);
    opacity: 1;
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.wt-notification.success {
    border-left-color: #10B981;
    border-bottom-color: #10B981;
}

.wt-notification.error {
    border-left-color: #EF4444;
    border-bottom-color: #EF4444;
}

.wt-notification.warning {
    border-left-color: #F59E0B;
    border-bottom-color: #F59E0B;
}

.wt-notification.info {
    border-left-color: #3B82F6;
    border-bottom-color: #3B82F6;
}

.wt-notification-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: var(--wt-shop-white);

    position: relative;
    z-index: 1;
}

.wt-notification.success .wt-notification-icon {
    background: #10B981;
}

.wt-notification.error .wt-notification-icon {
    background: #EF4444;
}

.wt-notification.warning .wt-notification-icon {
    background: #F59E0B;
}

.wt-notification.info .wt-notification-icon {
    background: #3B82F6;
}

.wt-notification-content {
    flex: 1;
    position: relative;
    z-index: 1;
    min-width: 300px;
}

.wt-notification-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--wt-shop-black);
    margin: 0 0 6px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.wt-notification-message {
    font-size: 13px;
    color: var(--wt-shop-gray);
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.wt-notification-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    color: var(--wt-shop-gray);
    font-size: 16px;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    z-index: 2;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wt-notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--wt-shop-black);

}


div.body-options {
    /*background: var(--wt-light);*/
    padding: 1rem;
}

div.body-options hr {
    height: 2px;
    border-top: 2px solid var(--wt-shop-primary);
}

.container-options {
    max-width: 1050px;
    height: auto;
    width: 100%;
    background: var(--wt-shop-white);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--wt-shop-light-gray);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.container-options::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.container-options::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    border-radius: 20px;
}
.wrapper-options {
    display: flex;
}
.indicator-options {
    padding: 1.5rem 0;
    border-right: 1px solid var(--wt-shop-light-gray);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    position: relative;
    min-height: 100%;
}

.indicator-options::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}



.theme-options-logo {
    display: block;
    margin: 0 auto 5px;
    width: 50px;
    height: 50px;
    background-image: url(//www.webthinker.de/static/webthinker-kompassrose.webp);
    background-size: contain;
    background-repeat: no-repeat;

    background-position: center;


}


.theme-options-logo-text{
    width: 100%;

    text-align: center;
    color: var(--wt-shop-primary);
    font-weight: 700;
    margin: 0 0 20px 0;
}

/* Modern Navigation Structure */
.indicator-options {
    padding: 1.5rem 0;
    border-right: 1px solid var(--wt-shop-light-gray);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    position: relative;
    min-height: 100%;
}

.theme-options-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.theme-options-logo {
    display: block;
    margin: 0 auto 8px;
    width: 50px;
    height: 50px;
    background-image: url(//www.webthinker.de/static/webthinker-kompassrose.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.theme-options-logo-text {
    color: var(--wt-shop-primary);
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    width: 100px;
    display: flex;
    align-items: center;
    grid-gap: .5rem;
    padding: 16px 2rem;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--wt-black);
    border-right: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 0 12px 12px 0;
    margin-right: 8px;
    background: transparent;
    overflow: hidden;
    outline: none;
}

.nav-item:focus {
    outline: 2px solid var(--wt-shop-primary);
    outline-offset: -2px;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-item:hover::before {
    left: 100%;
}
.indicator-options li i {
    font-size: 1rem;
}
.nav-item:hover {
    background: var(--solid-primary);
    color: var(--wt-shop-white);


    border-right-color: rgba(255, 255, 255, 0.3);
}

.nav-item.active {
    border-right-color: rgba(255, 255, 255, 0.5);
    color: var(--wt-shop-white);
    background: var(--solid-primary);


    position: relative;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 12px 12px 0;
    pointer-events: none;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--wt-shop-primary);
}
.content-options {
    padding: 2rem 2.5rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    position: relative;
    z-index: 1;
}

/* Same as frontend form inputs */
.content-options .wt-option-fields {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--wt-shop-black);
    background: var(--wt-shop-white);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.content-options .wt-option-fields::before {
    content: none;
}

.content-options .wt-option-fields:focus {
    outline: none;
    border-color: var(--wt-shop-primary);
    box-shadow: 0 0 0 3px rgba(9, 16, 87, 0.12);
}

.content-options .wt-option-fields:hover {
    border-color: #adb5bd;
}
/* Modern Tab Panel Structure */
.tab-panels {
    position: relative;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.panel-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--wt-shop-light-gray);
}

.panel-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--wt-shop-primary);
    margin: 0;
}

.panel-content {
    padding: 1rem 0;
}
.content-options li h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--wt-black);
    margin-bottom: .75rem;
}
.content-options li p {
    margin-bottom: .5rem;
    color: var(--wt-dark-grey);
    font-size: .875rem;
}

.submit-options {
    padding: 1.5em 0;
    margin: 5px 0;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border: none;
}

.submit-options .button-primary {
    background: var(--wt-shop-primary);
    border: none;
    color: var(--wt-shop-white);
    text-decoration: none;
    text-shadow: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(9, 16, 87, 0.2);
}

.submit-options .button-primary:hover {
    background: var(--wt-shop-primary-hover);

    box-shadow: 0 6px 16px rgba(9, 16, 87, 0.3);
}

.submit-options .button-primary:active {
    transform: translateY(0);
}

/* Modern Button Styling */
.button {
    background: var(--wt-shop-white);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 2px solid var(--wt-shop-light-gray);
    color: var(--wt-shop-primary);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    margin: 6px;
    position: relative;
    overflow: hidden;

}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.button:hover {
    background: var(--solid-primary);
    color: var(--wt-shop-white);


    border-color: rgba(255, 255, 255, 0.3);
}

.button:hover::before {
    left: 100%;
}

.button:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

/* Image Preview Styling */
.content-options img {
    border-radius: 16px;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--wt-shop-light-gray);
    background: var(--wt-shop-white);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    position: relative;
    overflow: hidden;
}

.content-options img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    border-radius: 16px;
}

.content-options img:hover {
    transform: translateY(-4px);

    border-color: var(--wt-shop-primary);
}
/* Responsive Design */
@media screen and (max-width: 1200px) {
    .wt-options-container {
        margin: 1rem;
        border-radius: 20px;
    }

    .wt-options-sidebar {
        width: 240px;
    }

    .wt-nav-item {
        padding: 0.875rem 1.25rem;
        font-size: 13px;
    }

    .wt-color-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .wt-options-body {
        padding: 1rem;
    }

    .wt-options-layout {
        flex-direction: column;
    }

    .wt-options-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--wt-shop-light-gray);
    }

    .wt-sidebar-nav {
        display: flex;
        overflow-x: auto;
        padding: 1rem;
        gap: 0.5rem;
    }

    .wt-nav-list {
        display: flex;
        gap: 0.5rem;
        min-width: max-content;
    }

    .wt-nav-item {
        white-space: nowrap;
        border-radius: 12px;
        margin-right: 0;
        border-right: none;
        border-bottom: 3px solid transparent;
        min-width: 120px;
        justify-content: center;
    }

    .wt-nav-item:hover,
    .wt-nav-item.active {
        border-right: none;
        border-bottom-color: rgba(255, 255, 255, 0.3);
    }

    .wt-nav-item.active::after {
        display: none;
    }

    .wt-panel-content {
        padding: 1.5rem;
        max-height: none;
    }

    .wt-field-group {
        padding: 1.25rem;
    }

    .wt-footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .wt-footer-actions {
        width: 100%;
        justify-content: center;
    }

    /* Color Grid Mobile */
    .wt-color-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .wt-color-items {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
    }

    .wt-color-actions {
        flex-direction: column;
        align-items: center;
    }


    .wt-code-actions {
        flex-direction: column;
        align-items: center;
    }

    .wt-code-textarea {
        min-height: 200px;
        font-size: 12px;
    }

    /* Social Media Mobile */
    .wt-social-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .wt-social-item {
        padding: 1rem;
    }

    .wt-social-header {
        gap: 0.75rem;
    }

    .wt-social-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .wt-social-input {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .wt-social-actions {
        flex-direction: column;
        align-items: center;
    }
}


@media screen and (max-width: 480px) {
    .wt-options-body {
        padding: 0.5rem;
    }

    .wt-options-container {
        margin: 0;
        border-radius: 16px;
    }

    .wt-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .wt-header-title {
        font-size: 1.5rem;
    }

    .wt-panel-header {
        padding: 1.5rem;
    }

    .wt-panel-header-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .wt-panel-content {
        padding: 1rem;
    }

    .wt-field-group {
        padding: 1rem;
    }

    .wt-upload-actions {
        flex-direction: column;
    }

    .wt-btn {
        justify-content: center;
    }

    .wt-footer-actions {
        flex-direction: column;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .wt-nav-item {
        border-width: 2px;
    }

    .wt-input-field {
        border-width: 3px;
    }

    .wt-btn {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .wt-nav-item,
    .wt-btn,
    .wt-input-field,
    .wt-preview-image {
        transition: none;
    }

    .wt-nav-item::before,
    .wt-btn::before,
    .wt-input-field::before {
        display: none;
    }
}

/* fix to show space color in backend */
.block-editor-block-list__block[data-type="core/spacer"]:before {
    background: #173b8624;
}

.auto-fold .interface-interface-skeleton {
    margin-left: 25px !important;
}

/* cpt backend file column */
form#posts-filter table.table-view-list td.tab_shortcode {
    vertical-align: middle;
}

form#posts-filter table.table-view-list td.tab_shortcode div {
    display: inline-block;
    padding: 5px;
    cursor: pointer;
    background-color: var(--wt-shop-primary);
    color: #fff;
    font-size: 16px;
}
form#posts-filter table.table-view-list td.employee_shortcode  div {
    border: 1px solid var(--wt-shop-primary);
    display: inline-block;
    padding: 5px;
    cursor: pointer;
    background-color: var(--wt-shop-primary);
    color: #fff;
    font-size: 16px;
}

.font-bold {
    font-weight: 700;
}
/* end cpt backend file column */


.block-editor__container img {
    background: var(--wt-shop-light-gray);
}

/* Start Backend-style */

/* body: font and page background (matches XD light blue-gray) */
body.wp-admin.wt-backend-styled {
    font-family: var(--font-family-default), 'Ubuntu', sans-serif;
    background: #e8edf2;
}

/* ========== Admin sidebar (#adminmenu) ========== */

/* sidebar container: full width; main menu + submenu use primary background */
#adminmenu,
.wt-backend-styled #adminmenu ul.wp-submenu {
    width: 100%;
}
.wt-backend-styled #adminmenuback,
.wt-backend-styled #adminmenuwrap,
.wt-backend-styled #adminmenu {
    background: var(--wt-backend-primary) !important;
}
.wt-backend-styled #adminmenuwrap {
    width: 180px !important;
}

/* sidebar: all links white,  hover = yellow left bar */
.wt-backend-styled #adminmenu a {
    color: var(--wt-backend-text) !important;
    text-decoration: none !important;
}
.wt-backend-styled #adminmenu a:hover {
    box-shadow: inset 4px 0 0 0 var(--wt-backend-pimary-button) !important;
}

/* sidebar: dashicons / menu icons use white (slightly dimmed via rgba in next block if needed) */
.wt-backend-styled #adminmenu .wp-menu-image::before,
.wt-backend-styled #adminmenu .dashicons,
.wt-backend-styled #adminmenu .dashicons-before::before {
    color: var(--wt-backend-text) !important;
}

/* sidebar: SVG menu icons (e.g. custom post types , woocommerce) forced to white via filter */
.wt-backend-styled #adminmenu div.wp-menu-image.svg,
body.wt-backend-styled #adminmenu div.wp-menu-image.svg {
    color: var(--wt-backend-text) !important;
    filter: brightness(0) invert(1) !important;
}
.wt-backend-styled #adminmenu div.wp-menu-image.svg img,
.wt-backend-styled #adminmenu div.wp-menu-image.svg svg,
body.wt-backend-styled #adminmenu div.wp-menu-image.svg img,
body.wt-backend-styled #adminmenu div.wp-menu-image.svg svg {
    filter: brightness(0) invert(1) !important;
    opacity: 0.9 !important;
}
.wt-backend-styled #adminmenu li.current div.wp-menu-image.svg img,
.wt-backend-styled #adminmenu li.current div.wp-menu-image.svg svg,
.wt-backend-styled #adminmenu li.wp-has-current-submenu div.wp-menu-image.svg img,
.wt-backend-styled #adminmenu li.wp-has-current-submenu div.wp-menu-image.svg svg {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

/* sidebar: list item borders and hover transition */
.wt-backend-styled #adminmenu li {
    border-color: rgba(255, 255, 255, 0.1) !important;
    transition: background-color 0.18s ease-out;
}
.wt-backend-styled #adminmenu li a {
    transition: box-shadow 0.18s ease-out, color 0.15s ease-out;
}

/* sidebar: current/active item = yellow background, dark text (primary) */
.wt-backend-styled #adminmenu li.current,
.wt-backend-styled #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu {
    background: var(--wt-backend-pimary-button) !important;
    color: var(--wt-backend-primary) !important;
}
.wt-backend-styled #adminmenu li.current a,
.wt-backend-styled #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu {
    color: var(--wt-backend-text) !important;
    background: var(--wt-backend-pimary-button) !important;
}

th .comment-grey-bubble:before,
.wt-backend-styled #adminmenu li.current .dashicons,
.wt-backend-styled #adminmenu li.current .wp-menu-image::before,
.wt-backend-styled #adminmenu li.wp-has-current-submenu .dashicons,
.wt-backend-styled #adminmenu li.wp-has-current-submenu .wp-menu-image::before {
    color: var(--wt-backend-text) !important;
}

/* sidebar: hover state = secondary (light blue); override WP core black on link */
.wt-backend-styled #adminmenu li:hover,
.wt-backend-styled #adminmenu li.opensub:hover {
    background: var(--wt-backend-secondary) !important;
}
.wt-backend-styled #adminmenu li.menu-top:hover,
#adminmenu li.menu-top:hover,
body.wt-backend-styled #adminmenu li.menu-top:hover a {
    background: var(--wt-backend-secondary) !important;
}
.wt-backend-styled #adminmenu li:hover a {
    color: var(--wt-backend-text) !important;
}

/* sidebar: submenu container and links use secondary; smooth transition */
.wt-backend-styled #adminmenu ul.wp-submenu {
    background: var(--wt-backend-secondary) !important;
}
.wt-backend-styled #adminmenu .wp-submenu a {
    color: var(--wt-backend-text) !important;
    transition: background-color 0.18s ease-out, color 0.15s ease-out;
}
.wt-backend-styled #adminmenu .wp-submenu a:hover {
    color: var(--wt-backend-text) !important;
}

/* sidebar: hide WP menu arrow (triangle) on parent and first submenu item */
#adminmenu .wp-menu-arrow,
#adminmenu .wp-submenu .wp-menu-arrow,
#adminmenu .wp-submenu li .wp-menu-arrow,
#adminmenu li.menu-top .wp-menu-arrow,
#adminmenu li.wp-has-submenu .wp-menu-arrow,
.wt-backend-styled #adminmenu .wp-menu-arrow,
.wt-backend-styled #adminmenu .wp-submenu .wp-menu-arrow,
body.wt-backend-styled #adminmenu .wp-menu-arrow,
body.wt-backend-styled #adminmenu .wp-submenu .wp-menu-arrow {
    display: none !important;
    visibility: hidden !important;
    background: none !important;
    background-image: none !important;
}
.wt-backend-styled #adminmenu .wp-submenu .wp-menu-image,
.wt-backend-styled #adminmenu .wp-submenu .wp-menu-image::before,
.wt-backend-styled #adminmenu .wp-submenu .wp-menu-image::after,
.wt-backend-styled #adminmenu .wp-submenu li a::before,
.wt-backend-styled #adminmenu .wp-submenu li a::after,
.wt-backend-styled #adminmenu .wp-submenu .dashicons,
.wt-backend-styled #adminmenu .wp-submenu .dashicons-before::before,
body.wt-backend-styled #adminmenu .wp-submenu li a::before,
body.wt-backend-styled #adminmenu .wp-submenu li a::after,
body.wt-backend-styled #adminmenu .wp-submenu .wp-menu-image,
body.wt-backend-styled #adminmenu .wp-submenu .wp-menu-image::before,
body.wt-backend-styled #adminmenu .wp-submenu .wp-menu-image::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}
.wt-backend-styled #adminmenu .wp-submenu li:first-child a::before,
.wt-backend-styled #adminmenu .wp-submenu li:first-child a::after,
.wt-backend-styled #adminmenu .wp-submenu li:first-child .wp-menu-image,
body.wt-backend-styled #adminmenu .wp-submenu li:first-child a::before,
body.wt-backend-styled #adminmenu .wp-submenu li:first-child a::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}
#adminmenu .wp-has-current-submenu .wp-submenu {
    padding: 0;
}
#adminmenu li.opensub ul.wp-submenu {
    left: 180px !important;
}

/* ========== Admin top bar (#wpadminbar) ========== */

/* bar background and top-level items use primary; links white */
.wt-backend-styled #wpadminbar,
body.wt-backend-styled #wpadminbar {
    background: var(--wt-backend-primary) !important;
}
.wt-backend-styled #wpadminbar .ab-top-menu > li > .ab-item,
body.wt-backend-styled #wpadminbar .ab-top-menu > li > .ab-item {
    background: var(--wt-backend-primary) !important;
    color: var(--wt-backend-text) !important;
}
.wt-backend-styled #wpadminbar a,
.wt-backend-styled #wpadminbar .ab-item,
body.wt-backend-styled #wpadminbar a,
body.wt-backend-styled #wpadminbar .ab-item {
    color: var(--wt-backend-text) !important;
    transition: background-color 0.18s ease-out, color 0.15s ease-out;
}

/* bar: dropdown submenu same primary background and white text */
.wt-backend-styled #wpadminbar .ab-submenu,
body.wt-backend-styled #wpadminbar .ab-submenu {
    background: var(--wt-backend-primary) !important;
}
.wt-backend-styled #wpadminbar .ab-submenu .ab-item,
body.wt-backend-styled #wpadminbar .ab-submenu .ab-item {
    color: var(--wt-backend-text) !important;
}

/* bar: hover = yellow tint; text stays white */
.wt-backend-styled #wpadminbar li:hover > .ab-item,
.wt-backend-styled #wpadminbar li.hover > .ab-item,
body.wt-backend-styled #wpadminbar li:hover > .ab-item,
body.wt-backend-styled #wpadminbar li.hover > .ab-item {
    background: rgba(234, 196, 12, 0.25) !important;
    color: var(--wt-backend-text) !important;
}

/* bar: YCONA logo in site-name (size and alignment) */
.wt-backend-styled #wpadminbar .wt-adminbar-logo-img,
body.wt-backend-styled #wpadminbar .wt-adminbar-logo-img {
    display: block;
    max-height: 30px;
    width: auto;
    max-width: 100px;
    vertical-align: middle;
}
.wt-backend-styled #wpadminbar #wp-admin-bar-site-name .ab-item,
body.wt-backend-styled #wpadminbar #wp-admin-bar-site-name .ab-item {
    padding: 0 12px;
    display: flex;
    align-items: center;
}
body.wt-backend-styled #wpadminbar #wp-admin-bar-site-name .ab-item::before {
    display: none !important;
}

/* bar: user avatar and display name next to it */
.wt-backend-styled #wpadminbar .wt-adminbar-avatar,
body.wt-backend-styled #wpadminbar .wt-adminbar-avatar {
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 6px;
}

/*account-pannel*/
#wpadminbar #wp-admin-bar-my-account.with-avatar>a img{
    border-radius: 50%;
    border-color:var(--wt-backend-text) !important;
    margin-top: 5px;
}
.wt-backend-styled #wpadminbar ul.ab-top-secondary li.menupop a.ab-item{
    display:flex !important;
    flex-direction:row-reverse;
    justify-content:space-between;
    gap:10px;
    align-content:center
}
#wp-admin-bar-user-info .avatar{
    border-radius: 50%;
    border-color:var(--wt-backend-text) !important;
    margin-bottom: 5px;
}
#wpadminbar #wp-admin-bar-user-actions.ab-submenu {
    padding: 6px 0 20px !important;
}
#wpadminbar #wp-admin-bar-user-actions.ab-submenu a span:first-of-type{
    display: none !important;
}
/* ========== Content area (#wpcontent, .wrap, postboxes) ========== */

.wt-backend-styled #wpcontent,
.wt-backend-styled #wpbody-content {
    background: #e8edf2 !important;
}
.wt-backend-styled .wrap {
    padding: 12px 20px 20px;
}
.wt-backend-styled .postbox,
.wt-backend-styled .meta-box-sortables .postbox {
    background: var(--wt-backend-text);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e5e9;
}
.wt-backend-styled .wrap h1,
.wt-backend-styled .wrap .wp-heading-inline {
    font-weight: 700;
    color: var(--wt-backend-primary);
    font-size: 1.5rem;
}

/* Form elements (inputs, focus, upload button) */

.wt-backend-styled input[type="text"],
.wt-backend-styled input[type="email"],
.wt-backend-styled input[type="url"],
.wt-backend-styled input[type="number"],
.wt-backend-styled input[type="search"],
.wt-backend-styled textarea,
.wt-backend-styled select {
    border-radius: 8px;
    border: 1px solid #cfd8e0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wt-backend-styled input:focus,
.wt-backend-styled textarea:focus,
.wt-backend-styled select:focus {
    border-color: var(--wt-backend-secondary);
    box-shadow: 0 0 0 2px rgba(90, 155, 205, 0.2);
    outline: none;
}
.wt-backend-styled .button.button-large.upload_attachment_button,
.wt-backend-styled input[type="button"].upload_attachment_button {
    background: var(--wt-backend-pimary-button) !important;
    color: var(--wt-backend-primary) !important;
    border-color: var(--wt-backend-pimary-button);
}

/* Tables (list tables: header secondary, rows white, hover tint) */

.wt-backend-styled .wp-list-table thead th,
.wt-backend-styled .wp-list-table thead td {
    background: var(--wt-backend-secondary) !important;
    color: var(--wt-backend-text) !important;
    border-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}
.wt-backend-styled .wp-list-table thead th a {
    color: var(--wt-backend-text) !important;
}
.wt-backend-styled .wp-list-table tbody tr {
    background: var(--wt-backend-text);
    border-bottom: 1px solid #e8edf2;
}
.wt-backend-styled .wp-list-table tbody tr:hover {
    background: rgba(90, 155, 205, 0.06);
}
.wt-backend-styled .wp-list-table tbody tr:nth-child(even) {
    background: #fafbfc;
}
.wt-backend-styled .wp-list-table tbody tr:nth-child(even):hover {
    background: rgba(90, 155, 205, 0.08);
}

/* Buttons (primary, CTA yellow, secondary outline) */

.wt-backend-styled .button {
    border-radius: 8px;
    transition: all 0.2s ease;
}
.wt-backend-styled .button-primary,
.wt-backend-styled .wp-core-ui .button-primary {
    background: var(--wt-backend-primary) !important;
    color: var(--wt-backend-text) !important;
    border-radius: 8px;
    border: none;
    padding: 8px 16px;
    transition: opacity 0.2s;
}
.wt-backend-styled .button-primary:hover,
.wt-backend-styled .wp-core-ui .button-primary:hover {
    opacity: 0.9;
}
.wt-backend-styled .button.action-cta,
.wt-backend-styled .button.wt-cta-yellow {
    background: var(--wt-backend-pimary-button) !important;
    color: var(--wt-backend-primary) !important;
    border-radius: 8px;
    border: none;
}
.wt-backend-styled .button.button-secondary,
.wt-backend-styled .wp-core-ui .button-secondary {
    border: 1px solid #cfd8e0;
    background: transparent;
    color: #333;
    border-radius: 8px;
    transition: border-color 0.2s, background 0.2s;
}
.wt-backend-styled .button.button-secondary:hover {
    border-color: var(--wt-backend-secondary);
    background: rgba(90, 155, 205, 0.06);
}

/* Typography (headings primary, labels bold, descriptions gray) */

.wt-backend-styled h1,
.wt-backend-styled h2,
.wt-backend-styled h3 {
    font-weight: 700;
    color: var(--wt-backend-primary);
}
.wt-backend-styled .form-table th {
    color: #333;
    font-size: 14px;
}
.wt-backend-styled label,
.wt-backend-styled .form-table th label {
    font-weight: 600;
    font-size: 13px;
}
.wt-backend-styled .description,
.wt-backend-styled .howto {
    color: #666;
    font-size: 13px;
}

/* Notices (rounded, left border by type) */

.wt-backend-styled .notice,
.wt-backend-styled .updated,
.wt-backend-styled .error {
    border-radius: 8px;
    border-left-width: 4px;
    border-left-style: solid;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.wt-backend-styled .notice-success { border-left-color: #00a32a; }
.wt-backend-styled .notice-info { border-left-color: var(--wt-backend-secondary); }
.wt-backend-styled .notice-warning { border-left-color: var(--wt-backend-pimary-button); }
.wt-backend-styled .notice-error,
.wt-backend-styled .error { border-left-color: #d63638; }
.wt-backend-styled .notice-dismiss {
    border-radius: 50%;
}

/* Responsive (narrow: less padding; small: fixed admin bar) */

@media screen and (max-width: 782px) {
    .wt-backend-styled #wpcontent {
        padding-left: 0;
    }
    .wt-backend-styled .wrap {
        padding: 10px 12px;
    }
}
@media screen and (max-width: 960px) {
    .wt-backend-styled #wpadminbar,
    body.wt-backend-styled #wpadminbar {
        position: fixed;
    }
}
/*footer-style*/
#wpfooter{
    padding: 10px 45px !important;
}
/* End Backend-style */

/* Program Builder */
#program_builder_fields_meta_box .inside {
    padding: 16px;
}

.pb-editor {
    background: #f5f7fa;
    border: 1px solid #d8e0e7;
    border-radius: 10px;
    padding: 16px;
}

.pb-editor-top {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 16px;
    margin-bottom: 20px;
}

.pb-page-title {
    margin: 0 0 10px;
}

.pb-form-row {
    margin-bottom: 12px;
}

.pb-form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.pb-form-row textarea,
.pb-form-row input[type="text"],
.pb-form-row select {
    width: 100%;
}

.pb-form-row-inline {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 12px;
}

.pb-image-box {
    border: 1px solid #d4dde6;
    border-radius: 8px;
    background: #fff;
    padding: 12px;
}

.pb-image-box .image-preview {
    width: 100%;
    height: 170px;
    border: 1px dashed #ccd6df;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.pb-image-box .image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pb-image-actions {
    margin-top: 10px;
    display: flex;
    gap: 8px;
}

.pb-builder-main {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 16px;
}

.pb-general-section {
    margin-top: 16px;
    background: #fff;
    border: 1px solid #d8e0e7;
    border-radius: 10px;
    padding: 14px;
}

.pb-general-description-wrap {
    margin-top: 14px;
}

.pb-preview-column,
.pb-structure-column {
    background: #fff;
    border: 1px solid #d8e0e7;
    border-radius: 10px;
    padding: 14px;
}

.pb-preview-card {
    border: 1px solid #dde4eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fbfdff;
}

.pb-preview-image {
    height: 180px;
    background: #eef3f8;
}

.pb-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pb-preview-video video,
.pb-preview-video audio {
    width: 100%;
    height: 100%;
    display: block;
}

.pb-preview-empty {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #7a8794;
}

.pb-preview-title,
.pb-preview-description {
    margin: 10px 12px;
}

.pb-preview-event-toast {
    margin: 10px 12px 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #e9f5ff;
    border: 1px solid #b8d8f0;
    color: #23435c;
    font-weight: 600;
}

.pb-structure-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.pb-chapter-row {
    border: 1px solid #d8e0e7;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #fff;
}

.pb-chapter-row.is-active {
    border-color: #5a9bcd;
    box-shadow: 0 0 0 2px rgba(90, 155, 205, 0.15);
}

.pb-row-header,
.pb-item-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
}

.pb-row-header {
    background: #5a9bcd;
    color: #fff;
    border-radius: 8px 8px 0 0;
}

.pb-row-header .pb-row-title {
    color: #fff;
}

.pb-item-row {
    border-top: 1px solid #ecf1f6;
    background: #fbfdff;
}

.pb-item-row .pb-row-title {
    min-width: 120px;
}

.pb-drag-handle {
    cursor: move;
    opacity: 0.85;
}

.pb-position-label {
    min-width: 48px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.pb-item-kind {
    margin-left: auto;
    margin-right: 8px;
    font-size: 12px;
    color: #516170;
    background: #e9f0f7;
    border-radius: 999px;
    padding: 3px 8px;
}

.pb-item-minute {
    font-size: 12px;
    color: #4a6074;
    min-width: 52px;
}

.pb-row-actions {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

.pb-new-item-kind {
    min-width: 110px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid #d2dbe4;
}

.pb-drop-placeholder {
    height: 40px;
    border: 2px dashed #5a9bcd;
    border-radius: 8px;
    margin: 6px 0;
    background: rgba(90, 155, 205, 0.1);
}

.pb-dragging {
    opacity: 0.6;
}

.pb-modal[hidden] {
    display: none;
}

.pb-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.pb-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 18, 26, 0.48);
}

.pb-modal-dialog {
    position: relative;
    width: min(900px, calc(100% - 24px));
    margin: 5vh auto 0;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #d4dde6;
    overflow: hidden;
}

.pb-modal-header,
.pb-modal-footer {
    padding: 12px 14px;
    border-bottom: 1px solid #edf1f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pb-modal-footer {
    border-top: 1px solid #edf1f5;
    border-bottom: none;
    justify-content: flex-end;
    gap: 8px;
}

.pb-modal-body {
    padding: 14px;
    max-height: 70vh;
    overflow-y: auto;
}

.pb-modal-timeline-wrap {
    margin: 8px 0 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #b8d4ea #f0f4f8;
}

.pb-modal-timeline-wrap::-webkit-scrollbar {
    height: 6px;
}

.pb-modal-timeline-wrap::-webkit-scrollbar-track {
    background: #f0f4f8;
    border-radius: 3px;
}

.pb-modal-timeline-wrap::-webkit-scrollbar-thumb {
    background: #b8d4ea;
    border-radius: 3px;
}

.pb-modal-timeline {
    position: relative;
    margin-top: 8px;
    height: 180px;
    border: 1px solid #d8e0e7;
    border-radius: 8px;
    background: #f8fbff;
    overflow: visible;
}

.pb-modal-timeline-track {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: #b8d4ea;
    border-radius: 999px;
}

.pb-modal-timeline-points {
    position: absolute;
    inset: 0 20px;
}

/* shared point styles */
.pb-timeline-point {
    position: absolute;
    transform: translateX(-50%);
    text-align: center;
    width: 120px;
}

.pb-timeline-connector {
    display: block;
    width: 2px;
    background: #b8d4ea;
    margin: 0 auto;
}

.pb-timeline-dot {
    width: 14px;
    height: 14px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid #fff;
    position: relative;
    z-index: 2;
}

.pb-timeline-label {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    margin: 0 auto;
}

/* chapters — above the track */
.pb-tp-chapter {
    bottom: 50%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.pb-tp-chapter .pb-timeline-connector {
    height: 24px;
    background: #5a9bcd;
}

.pb-tp-chapter .pb-timeline-dot {
    background: #5a9bcd;
    box-shadow: 0 0 0 2px #8db8d8;
}

.pb-tp-chapter .pb-timeline-label {
    color: #1d3a52;
    font-weight: 600;
    margin-bottom: 4px;
}

/* items — below the track */
.pb-tp-item {
    top: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pb-tp-item .pb-timeline-connector {
    height: 24px;
    background: #e6a817;
}

.pb-tp-item .pb-timeline-dot {
    background: #e6a817;
    box-shadow: 0 0 0 2px #f0c654;
}

.pb-tp-item .pb-timeline-label {
    color: #7a5d00;
    font-weight: 500;
    margin-top: 4px;
}

.pb-modal-editor-wrap {
    margin-top: 14px;
}

.pb-modal-editor-wrap .wp-editor-wrap {
    margin-top: 8px;
}

/* Media cards in modal */
.pb-modal-media-wrap {
    margin: 14px 0 6px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pb-media-card {
    border: 1px solid #d9e2ea;
    border-radius: 10px;
    background: #f9fcff;
    overflow: hidden;
}

.pb-media-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #edf3f9;
    border-bottom: 1px solid #d9e2ea;
}

.pb-media-card-header .dashicons {
    color: #5a9bcd;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.pb-media-card-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1d3a52;
}

.pb-media-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pb-media-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #4a6074;
}

.pb-media-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pb-media-input-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pb-media-input-row input[type="url"] {
    flex: 1;
    min-width: 0;
}

.pb-media-upload-btn {
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border-radius: 6px !important;
    background: #5a9bcd !important;
    border-color: #4a8bbd !important;
    color: #fff !important;
    transition: background .15s, transform .1s;
}

.pb-media-upload-btn:hover {
    background: #4a8bbd !important;
    transform: scale(1.05);
}

.pb-media-upload-btn:active {
    transform: scale(0.97);
}

.pb-media-upload-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 1;
}

@media (max-width: 1080px) {
    .pb-editor-top {
        grid-template-columns: 1fr;
    }
    .pb-builder-main {
        grid-template-columns: 1fr;
    }
    .pb-media-field-row {
        grid-template-columns: 1fr;
    }
}