/* ============================================================
   🧱 SOCLE ADMIN – WP-FRANCE THEA
   ============================================================ */
.wrap {
    max-width: 1600px;
}

.thea-box-grey {
    background: #f1f3f5;
    padding: 28px 32px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.thea-box-grey h1 {
    margin-top: 0;
    font-size: 26px;
}

.thea-box-grey p {
    font-size: 15px;
    margin-bottom: 12px;
}

.thea-box-white {
    background: #ffffff;
    padding: 26px 30px;
    border-radius: 16px;
    margin-bottom: 26px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.thea-box-white h2,
.thea-box-white h3 {
    margin-top: 0;
}

.thea-footer-logo {
    margin-top: 30px;
}

.thea-footer-logo img {
    max-width: 200px;
    height: auto;
}

/* ============================================================
   ✨ ADMIN – Sophie Souris
   ============================================================ */
.tss-admin-hero {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    margin-top: 18px;
    border-radius: 20px;
    border: 1px solid #eadde6;
    background:
        radial-gradient(circle at 82% 25%, rgba(255,255,255,.95), rgba(255,255,255,0) 22%),
        linear-gradient(135deg, #fff 0%, #fff6fb 48%, #f9e8f2 100%);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.tss-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 530px;
    padding: 54px 52px;
}

.tss-hero-kicker {
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f9dcea;
    color: #a54975;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.tss-hero-copy strong {
    font-size: 28px;
    line-height: 1.18;
    color: #2c2630;
}

.tss-hero-copy small {
    font-size: 14px;
    color: #736873;
}

.tss-hero-sparkles {
    position: absolute;
    inset: 0 0 0 45%;
}

.tss-hero-sparkles i {
    position: absolute;
    color: #e978af;
    font-style: normal;
    text-shadow: 0 0 12px rgba(233,120,175,.55);
}

.tss-hero-sparkles i:nth-child(1){left:26%;top:30%;font-size:27px}
.tss-hero-sparkles i:nth-child(2){left:38%;top:44%;font-size:31px}
.tss-hero-sparkles i:nth-child(3){left:49%;top:35%;font-size:22px}
.tss-hero-sparkles i:nth-child(4){left:58%;top:54%;font-size:37px}
.tss-hero-sparkles i:nth-child(5){left:67%;top:41%;font-size:30px}
.tss-hero-sparkles i:nth-child(6){left:73%;top:62%;font-size:25px}
.tss-hero-sparkles i:nth-child(7){left:83%;top:49%;font-size:19px}

.tss-hero-cursor {
    position: absolute;
    left: 84%;
    top: 66%;
    transform: rotate(-43deg);
    font-size: 30px;
    color: #362b35;
}

.tss-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.tss-preset-row,
.tss-save-preset-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.tss-preset-row select {
    min-width: 260px;
}

.tss-delete-preset {
    color: #a22727 !important;
    border-color: #dcb7b7 !important;
}

#tss-preset-message {
    font-weight: 600;
}

#tss-preset-message.is-success { color: #187a3f; }
#tss-preset-message.is-error { color: #a22727; }

.tss-preview {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    border-radius: 24px;
    border: 1px solid #eadfe7;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,.95), rgba(255,255,255,0) 22%),
        radial-gradient(circle at 75% 75%, rgba(249,218,234,.65), rgba(255,255,255,0) 32%),
        linear-gradient(135deg, #fffafc 0%, #f7edf4 100%);
}

.tss-preview-copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
    color: #5f505c;
    text-align: center;
}

.tss-preview-copy span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #a76687;
}

.tss-preview-copy strong {
    font-size: 26px;
    color: #342a32;
}

.tss-preview-copy small { opacity: .78; }

.tss-subtitle {
    margin: 28px 0 14px;
    padding-bottom: 9px;
    border-bottom: 1px solid #ece8eb;
    font-size: 16px;
}

.tss-grid {
    display: grid;
    gap: 16px;
    margin: 14px 0;
}

.tss-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tss-control {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 16px;
    border: 1px solid #ece5ea;
    border-radius: 14px;
    background: #fcfbfc;
}

.tss-control > span {
    font-weight: 700;
    color: #332d32;
}

.tss-control small {
    color: #746c72;
}

.tss-control input[type="range"] {
    width: 100%;
}

.tss-range-value {
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1e9ee;
    color: #684e5e;
    font-size: 12px;
}

.tss-color-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tss-color-row input[type="color"] {
    width: 52px;
    height: 34px;
    padding: 2px;
}

.tss-inline-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.tss-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none !important;
    z-index: 3;
}

.tss-front-canvas {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: 2147483000 !important;
}


.tss-simple-modes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 16px 0 8px;
}

.tss-mode-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-height: 128px;
    padding: 18px;
    border: 1px solid #e6dce3;
    border-radius: 16px;
    background: #fff;
    color: #342a32;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.tss-mode-card:hover {
    transform: translateY(-1px);
    border-color: #dda7c1;
    box-shadow: 0 7px 18px rgba(156,79,117,.10);
}

.tss-mode-card.is-active {
    border-color: #cf6ca0;
    background: linear-gradient(135deg, #fff 0%, #fff6fb 100%);
    box-shadow: 0 0 0 2px rgba(207,108,160,.12), 0 8px 20px rgba(156,79,117,.11);
}

.tss-mode-card.is-recommended {
    padding-top: 25px;
}

.tss-mode-card strong {
    font-size: 16px;
}

.tss-mode-card small {
    color: #746c72;
    line-height: 1.35;
}

.tss-mode-icon {
    min-height: 26px;
    color: #df6ea8;
    font-size: 21px;
    letter-spacing: .06em;
    text-shadow: 0 0 10px rgba(223,110,168,.22);
}

.tss-mode-badge {
    position: absolute;
    top: -9px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3d5e4;
    color: #934d6e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
}

.tss-mode-status {
    min-height: 20px;
    margin: 8px 0 2px;
    color: #7c6572;
    font-size: 13px;
}

.tss-advanced-panel {
    margin-top: 26px;
    border: 1px solid #e7e0e5;
    border-radius: 16px;
    background: #fbfafb;
    overflow: hidden;
}

.tss-advanced-panel > summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 17px 20px;
    cursor: pointer;
    list-style: none;
    background: #f8f5f7;
}

.tss-advanced-panel > summary::-webkit-details-marker {
    display: none;
}

.tss-advanced-panel > summary span {
    font-weight: 750;
    color: #3a3037;
}

.tss-advanced-panel > summary small {
    color: #766c72;
}

.tss-advanced-panel[open] > summary {
    border-bottom: 1px solid #e7e0e5;
}

.tss-advanced-inner {
    padding: 4px 20px 20px;
}

.tss-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
    .tss-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .tss-grid-4 { grid-template-columns: 1fr; }
    .tss-grid-3 { grid-template-columns: 1fr; }
    .tss-simple-modes { grid-template-columns: 1fr; }
    .tss-section-heading { flex-direction: column; }
    .tss-hero-sparkles { opacity: .55; inset-left: 20%; }
    .tss-hero-copy { padding: 36px 28px; }
}
