
:root{--teg-gold:#D4AF37;--teg-gold2:#ECD26B;--teg-black:#050506;--teg-card:#0b0b0d;--teg-line:rgba(212,175,55,.26);--teg-text:#f7f3ea;--teg-muted:#92908a}
body.page-template-page-login-register,
body.page-template-page-panel{background:#050506!important;color:var(--teg-text)!important}
.teg-auth-page,.teg-create-page{background:radial-gradient(circle at 78% 10%,rgba(212,175,55,.08),transparent 30%),#050506;min-height:70vh;padding:70px 22px 100px}
.teg-auth-shell,.teg-create-shell{max-width:1260px;margin:0 auto}
.teg-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.teg-auth-card,.teg-form-card{background:linear-gradient(180deg,#0c0c0e,#080809);border:1px solid var(--teg-line);border-radius:22px;padding:34px;box-shadow:0 30px 90px rgba(0,0,0,.28)}
.teg-auth-card-register{border-color:rgba(212,175,55,.48)}
.teg-auth-eyebrow,.teg-create-head span{color:var(--teg-gold);font:800 11px/1.2 Arial,sans-serif;letter-spacing:.2em}
.teg-auth-card h1,.teg-auth-card h2,.teg-create-head h1{margin:10px 0 10px;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:52px;line-height:1}
.teg-auth-card p,.teg-create-head p{color:#aaa;font-size:15px;line-height:1.7}
.teg-auth-form{display:grid;gap:18px;margin-top:28px}
.teg-auth-form label,.teg-create-form label{display:grid;gap:8px}
.teg-auth-form label>span,.teg-create-form label>span{font-size:12px;font-weight:800;color:#d9d7d1}
.teg-auth-form input,.teg-create-form input,.teg-create-form select,.teg-create-form textarea{width:100%;box-sizing:border-box;background:#060607!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:12px;padding:15px 16px!important;color:#fff!important;outline:0;box-shadow:none!important}
.teg-auth-form input:focus,.teg-create-form input:focus,.teg-create-form select:focus,.teg-create-form textarea:focus{border-color:var(--teg-gold)!important;box-shadow:0 0 0 4px rgba(212,175,55,.08)!important}
.teg-auth-meta{display:flex;justify-content:space-between;gap:12px;align-items:center}
.teg-auth-meta a{color:var(--teg-gold);font-size:12px}
.teg-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px!important}
.teg-check input{width:auto!important}
.teg-gold-button,.teg-dark-button{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 26px;border-radius:12px;border:1px solid var(--teg-gold);font-weight:900;text-decoration:none;cursor:pointer}
.teg-gold-button{background:linear-gradient(135deg,var(--teg-gold),var(--teg-gold2));color:#050505!important}
.teg-dark-button{background:#080809;color:#fff!important}
.teg-form-notice{margin:0 0 22px;padding:14px 16px;border-radius:10px;font-weight:700}
.teg-form-error{background:rgba(177,18,38,.14);border:1px solid rgba(177,18,38,.45);color:#ffb7bf}
.teg-form-success{background:rgba(30,150,90,.14);border:1px solid rgba(30,150,90,.4);color:#b9f4d4}
.teg-create-head{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:28px}
.teg-create-head h1{font-size:64px}
.teg-create-badge{border:1px solid var(--teg-line);border-radius:999px;padding:13px 18px;color:var(--teg-gold);font-weight:900;white-space:nowrap}
.teg-create-form{display:grid;gap:20px}
.teg-form-card-title{display:flex;gap:12px;align-items:center;margin-bottom:24px}
.teg-form-card-title b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--teg-gold);color:#050505}
.teg-form-card-title span{font:800 14px Arial,sans-serif;letter-spacing:.08em;color:#fff}
.teg-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.teg-form-full{margin-top:18px}
.teg-create-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:4px}
@media(max-width:800px){
 .teg-auth-page,.teg-create-page{padding:34px 12px 70px}
 .teg-auth-grid,.teg-form-grid{grid-template-columns:1fr}
 .teg-auth-card,.teg-form-card{padding:24px 18px}
 .teg-auth-card h1,.teg-auth-card h2{font-size:40px}
 .teg-create-head{display:block}
 .teg-create-head h1{font-size:42px}
 .teg-create-badge{display:inline-flex;margin-top:16px}
 .teg-auth-meta{align-items:flex-start;flex-direction:column}
 .teg-create-actions{display:grid;grid-template-columns:1fr}
}


/* ==========================================================
   TOPESCORTGIRLS MAROC v1.3.0 — FULL SUBMISSION
========================================================== */
.teg-create-full-page .teg-create-shell{max-width:1320px}
.teg-create-full-hero{
    position:relative;
    min-height:330px;
    display:flex;
    align-items:flex-end;
    overflow:hidden;
    border:1px solid rgba(212,175,55,.28);
    border-radius:26px;
    padding:42px;
    margin-bottom:24px;
    background-image:var(--teg-create-hero);
    background-size:cover;
    background-position:center 38%;
}
.teg-create-hero-shade{
    position:absolute;inset:0;
    background:linear-gradient(90deg,rgba(3,3,4,.95) 0%,rgba(3,3,4,.74) 48%,rgba(3,3,4,.22) 100%),
               linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.66));
}
.teg-create-full-hero .teg-create-head{position:relative;z-index:2;width:100%;margin:0}
.teg-create-full-hero .teg-create-head h1{font-size:62px}
.teg-form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.teg-option-block{margin-top:26px}
.teg-option-block:first-of-type{margin-top:0}
.teg-option-block h3{font-size:15px;color:#fff;margin:0 0 14px}
.teg-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.teg-choice{
    display:flex!important;
    grid-template-columns:none!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:10px!important;
    background:#070708;
    border:1px solid rgba(255,255,255,.10);
    border-radius:12px;
    min-height:48px;
    padding:0 14px;
}
.teg-choice input{width:18px!important;height:18px!important;accent-color:#D4AF37}
.teg-choice span{font-size:12px!important;color:#eee!important}
.teg-form-help{color:#8f8d88;font-size:12px;margin:14px 0 0}
.teg-sticky-actions{
    position:sticky;
    bottom:14px;
    z-index:8;
    padding:12px;
    border:1px solid rgba(212,175,55,.22);
    border-radius:16px;
    background:rgba(5,5,6,.92);
    backdrop-filter:blur(12px);
}
.teg-create-full-page .teg-form-card{
    border-color:rgba(212,175,55,.24);
}
.teg-create-full-page select option{background:#111;color:#fff}
@media(max-width:980px){
    .teg-form-grid-3,.teg-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
    .teg-form-grid-3,.teg-check-grid{grid-template-columns:1fr}
    .teg-create-full-hero{padding:26px 20px;min-height:280px}
    .teg-create-full-hero .teg-create-head h1{font-size:40px}
    .teg-sticky-actions{position:static}
}

/* v1.3.1 select / interaction fix */
.teg-create-form select{
 display:block!important;width:100%!important;height:62px!important;min-height:62px!important;
 line-height:1.25!important;padding:0 48px 0 18px!important;border-radius:14px!important;
 background:#050506!important;color:#fff!important;font-size:16px!important;font-weight:700!important;
 appearance:auto!important;-webkit-appearance:auto!important;overflow:visible!important;text-indent:0!important
}
.teg-create-form select option{background:#111!important;color:#fff!important;font-size:16px!important}
.teg-create-form input,.teg-create-form textarea{font-size:16px!important}
.teg-choice{cursor:pointer!important;pointer-events:auto!important}
.teg-choice input[type=checkbox]{cursor:pointer!important;pointer-events:auto!important}
.teg-full-create-form button[type=submit],.teg-create-actions{pointer-events:auto!important;position:relative!important;z-index:20!important}
.teg-form-card{overflow:visible!important}


/* ==========================================================
   TOPESCORTGIRLS MAROC v1.3.2 — SELECT VISUAL + CLICK FIX
   ========================================================== */
.teg-full-create-form select,
.teg-create-form select,
.teg-create-page select{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:64px!important;
    max-height:none!important;
    box-sizing:border-box!important;
    padding:18px 52px 18px 18px!important;
    margin:0!important;
    line-height:1.35!important;
    vertical-align:middle!important;
    font-family:inherit!important;
    font-size:16px!important;
    font-weight:700!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    background:#050506!important;
    border:1px solid rgba(255,255,255,.16)!important;
    border-radius:14px!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:normal!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    cursor:pointer!important;
    position:relative!important;
    z-index:4!important;
    transform:none!important;
    appearance:auto!important;
    -webkit-appearance:menulist!important;
    -moz-appearance:auto!important;
    text-indent:0!important;
}
.teg-full-create-form select:focus,
.teg-create-form select:focus{
    outline:none!important;
    border-color:#D4AF37!important;
    box-shadow:0 0 0 4px rgba(212,175,55,.10)!important;
}
.teg-full-create-form select option,
.teg-create-form select option{
    background:#111!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:16px!important;
    line-height:1.5!important;
}
.teg-full-create-form label,
.teg-full-create-form .teg-form-grid,
.teg-full-create-form .teg-form-card,
.teg-create-form label,
.teg-create-form .teg-form-grid,
.teg-create-form .teg-form-card{
    overflow:visible!important;
}
.teg-full-create-form input:not([type="checkbox"]):not([type="file"]),
.teg-create-form input:not([type="checkbox"]):not([type="file"]){
    min-height:64px!important;
    height:auto!important;
    padding:18px!important;
    line-height:1.35!important;
    box-sizing:border-box!important;
}
.teg-full-create-form input,
.teg-full-create-form select,
.teg-full-create-form textarea,
.teg-full-create-form button,
.teg-full-create-form .teg-choice{
    pointer-events:auto!important;
}
.teg-full-create-form .teg-choice{
    position:relative!important;
    z-index:3!important;
}
.teg-full-create-form button[type="submit"]{
    position:relative!important;
    z-index:50!important;
    cursor:pointer!important;
}
@media(max-width:680px){
    .teg-full-create-form select,
    .teg-create-form select{
        min-height:60px!important;
        padding:16px 44px 16px 16px!important;
        font-size:16px!important;
    }
}


/* ==========================================================
   TOPESCORTGIRLS MAROC v1.4.5
   LOGIN / REGISTER — HERO + 2 PREMIUM BLOCKS
   The hero is intentionally identical to /panel/?action=create.
   ========================================================== */
.teg-auth-page-with-hero .teg-auth-shell{
    max-width:1320px;
}
.teg-auth-page-with-hero .teg-auth-profile-hero{
    margin-bottom:28px;
}
.teg-auth-page-with-hero .teg-auth-grid{
    align-items:stretch;
}
.teg-auth-page-with-hero .teg-auth-card{
    min-height:100%;
}
.teg-register-flow-note{
    margin:18px 0 2px;
    padding:13px 15px;
    border:1px solid rgba(212,175,55,.20);
    border-radius:12px;
    background:rgba(212,175,55,.055);
    color:#aaa;
    font-size:12px;
    line-height:1.6;
}
.teg-register-flow-note strong{
    color:#fff;
}
.teg-register-flow-note span{
    display:inline-flex;
    margin-left:5px;
    padding:3px 8px;
    border-radius:999px;
    background:#D4AF37;
    color:#050505;
    font-weight:900;
}
@media(max-width:800px){
    .teg-auth-page-with-hero .teg-auth-profile-hero{
        margin-bottom:18px;
    }
}


/* v1.4.6 — logged-in preview/continue state */
.teg-auth-connected{
    max-width:780px;
    margin:0 auto;
    padding:38px;
    border:1px solid rgba(212,175,55,.42);
    border-radius:22px;
    background:linear-gradient(180deg,#0c0c0e,#080809);
    text-align:center;
    box-shadow:0 30px 90px rgba(0,0,0,.28);
}
.teg-auth-connected h2{
    margin:10px 0 12px;
    color:#fff;
    font-family:Georgia,"Times New Roman",serif;
    font-size:46px;
}
.teg-auth-connected p{
    max-width:620px;
    margin:0 auto 24px;
    color:#aaa;
    line-height:1.7;
}
@media(max-width:800px){
    .teg-auth-connected{padding:28px 18px}
    .teg-auth-connected h2{font-size:36px}
}


/* ==========================================================
   TOPESCORTGIRLS MAROC v1.4.7 — LOGOUT BUTTON
   ========================================================== */
.teg-auth-connected-actions{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
}
.teg-auth-connected-actions .teg-gold-button{
    min-width:min(100%,480px);
}
.teg-logout-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:min(100%,480px);
    min-height:54px;
    padding:0 26px;
    border:1px solid rgba(212,175,55,.55);
    border-radius:12px;
    background:#080809;
    color:#fff!important;
    text-decoration:none!important;
    font-weight:900;
    transition:.2s ease;
}
.teg-logout-button:hover{
    border-color:#D4AF37;
    color:#D4AF37!important;
    transform:translateY(-1px);
}
@media(max-width:800px){
    .teg-auth-connected-actions,
    .teg-auth-connected-actions .teg-gold-button,
    .teg-logout-button{
        width:100%;
    }
}

/* v1.4.8 — Mes profils / Modifier / Paiement */
.teg-owner-page{min-height:75vh;padding:54px 22px 90px;background:radial-gradient(circle at 80% 0,rgba(212,175,55,.08),transparent 28%),#050506;color:#fff}
.teg-owner-shell{max-width:1320px;margin:0 auto}
.teg-owner-hero{position:relative;overflow:hidden;min-height:310px;border:1px solid rgba(212,175,55,.32);border-radius:26px;background-image:var(--teg-owner-hero);background-size:cover;background-position:center 38%;display:flex;align-items:flex-end;padding:42px;margin-bottom:28px}
.teg-owner-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,3,4,.96),rgba(3,3,4,.73) 52%,rgba(3,3,4,.22))}
.teg-owner-hero-content{position:relative;z-index:2;max-width:820px}
.teg-owner-hero-content>span,.teg-owner-plan-head .teg-auth-eyebrow{color:#D4AF37;font:800 11px/1.2 Arial,sans-serif;letter-spacing:.2em}
.teg-owner-hero h1,.teg-owner-plan-head h1,.teg-owner-empty h2{margin:10px 0;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:58px;line-height:1}
.teg-owner-hero p,.teg-owner-plan-head p,.teg-owner-empty p{color:#aaa;font-size:16px;line-height:1.7}
.teg-owner-hero-actions,.teg-panel-top-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.teg-panel-top-actions{max-width:1320px;margin:0 auto 20px}
.teg-owner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.teg-owner-card{overflow:hidden;border:1px solid rgba(212,175,55,.25);border-radius:22px;background:linear-gradient(180deg,#0d0d0f,#080809);box-shadow:0 26px 70px rgba(0,0,0,.22)}
.teg-owner-card-media{position:relative;height:260px;background:#111;overflow:hidden}
.teg-owner-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.teg-owner-no-photo{height:100%;display:grid;place-items:center;color:#555;font-weight:900;letter-spacing:.15em}
.teg-owner-tier{position:absolute;left:18px;top:18px;padding:9px 14px;border-radius:999px;font-size:11px;font-weight:950;letter-spacing:.06em;background:#222;color:#fff}
.teg-owner-tier-vip{background:#B11226}.teg-owner-tier-premium{background:#D4AF37;color:#050505}
.teg-owner-card-body{padding:24px}.teg-owner-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.teg-owner-card h2{margin:0;color:#fff;font:800 34px/1 Georgia,"Times New Roman",serif}.teg-owner-card p{margin:8px 0 0;color:#999}
.teg-owner-status{flex:0 0 auto;padding:7px 10px;border:1px solid rgba(255,255,255,.13);border-radius:999px;color:#bbb;font-size:10px;font-weight:900;text-transform:uppercase}
.teg-owner-expiry{margin-top:18px;padding:10px 12px;border-radius:10px;background:rgba(212,175,55,.08);color:#d9c675;font-size:12px}
.teg-owner-card-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:22px}
.teg-owner-btn{min-height:46px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.15);border-radius:11px;background:#0b0b0c;color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:900;text-align:center;padding:0 10px}
.teg-owner-btn-gold{border-color:#D4AF37;color:#D4AF37!important}.teg-owner-btn-plan{background:#D4AF37;border-color:#D4AF37;color:#050505!important}
.teg-owner-empty,.teg-owner-plan-head{padding:38px;border:1px solid rgba(212,175,55,.26);border-radius:22px;background:linear-gradient(180deg,#0d0d0f,#080809);text-align:center}
.teg-owner-empty{max-width:800px;margin:0 auto}.teg-owner-back{display:inline-flex;margin-bottom:20px;color:#D4AF37!important;text-decoration:none;font-weight:900}.teg-owner-plan-shell{max-width:1000px}
.teg-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}
.teg-plan-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:34px 24px;border:1px solid rgba(212,175,55,.28);border-radius:22px;background:linear-gradient(180deg,#0d0d0f,#080809);cursor:pointer}
.teg-plan-card input{position:absolute;top:20px;right:20px;accent-color:#D4AF37}.teg-plan-card:has(input:checked){border-color:#D4AF37;box-shadow:0 0 0 4px rgba(212,175,55,.08)}
.teg-plan-name{color:#D4AF37;font-weight:950;letter-spacing:.12em}.teg-plan-card strong{margin-top:16px;color:#fff;font:800 48px/1 Georgia,"Times New Roman",serif}.teg-plan-card small{margin-top:8px;color:#999}.teg-plan-card p{color:#aaa;line-height:1.6}
.teg-plan-card-vip{border-color:rgba(177,18,38,.55)}.teg-plan-card-vip .teg-plan-name{color:#ff7889}.teg-plan-pay{grid-column:1/-1;justify-self:center;min-width:360px}
@media(max-width:800px){.teg-owner-page{padding:28px 12px 70px}.teg-owner-hero{min-height:280px;padding:26px 20px}.teg-owner-hero h1,.teg-owner-plan-head h1,.teg-owner-empty h2{font-size:42px}.teg-owner-grid,.teg-plan-grid{grid-template-columns:1fr}.teg-owner-card-actions{grid-template-columns:1fr}.teg-plan-pay{grid-column:auto;min-width:100%;width:100%}.teg-owner-hero-actions,.teg-panel-top-actions{display:grid;grid-template-columns:1fr}}
