/* ANTA NAJM Manager — frontend + administration. RTL / black, white and gold. */
:root{--antanm-black:#050505;--antanm-charcoal:#111214;--antanm-surface:#17181b;--antanm-gold:#d4af37;--antanm-gold-light:#f1d77a;--antanm-gold-soft:rgba(212,175,55,.12);--antanm-white:#fff;--antanm-text:#f2f2f2;--antanm-muted:#b5b7bd;--antanm-border:rgba(212,175,55,.25);--antanm-success:#45c486;--antanm-danger:#ff7777;--antanm-radius:16px;--antanm-shadow:0 12px 35px rgba(0,0,0,.28)}
.antanm-auth,.antanm-account,.antanm-registration-form{direction:rtl;width:100%;max-width:1180px;margin:32px auto;color:var(--antanm-text);font-family:'Thmanyah Sans',Tahoma,Arial,sans-serif;font-size:15px;line-height:1.9;box-sizing:border-box}
.antanm-auth *,.antanm-account *,.antanm-registration-form *,.antanm-rules-panel *{box-sizing:border-box}
.antanm-auth h1,.antanm-auth h2,.antanm-auth h3,.antanm-account h1,.antanm-account h2,.antanm-account h3,.antanm-registration-form h1,.antanm-registration-form h2,.antanm-registration-form h3,.antanm-rules-panel h2,.antanm-rules-panel h3{color:var(--antanm-gold-light)!important;font-weight:800;line-height:1.5}
.antanm-auth p,.antanm-account p,.antanm-registration-form p,.antanm-rules-panel p,.antanm-account li,.antanm-rules-panel li{color:var(--antanm-text)}
.antanm-auth a,.antanm-account a,.antanm-registration-form a,.antanm-rules-panel a{color:var(--antanm-gold-light);text-decoration:none}.antanm-auth a:hover,.antanm-account a:hover,.antanm-registration-form a:hover{color:#fff}
.antanm-auth-heading{position:relative;overflow:hidden;padding:42px 34px;margin-bottom:24px;text-align:right;border:1px solid var(--antanm-border);border-radius:22px;background:radial-gradient(circle at 8% 15%,rgba(212,175,55,.18),transparent 32%),linear-gradient(125deg,#101010,#1b1b1b 60%,#080808);box-shadow:var(--antanm-shadow)}
.antanm-auth-heading .antanm-kicker{display:inline-block;padding:5px 13px;margin-bottom:12px;color:var(--antanm-gold-light);border:1px solid var(--antanm-border);border-radius:30px;font-size:12px;font-weight:800}.antanm-auth-heading h2{margin:0 0 10px;font-size:clamp(27px,4vw,40px);color:#fff!important}.antanm-auth-heading p{color:#d0d0d0;max-width:620px;margin:0}
.antanm-auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.antanm-auth-panel{min-width:0;padding:28px;color:var(--antanm-text);background:linear-gradient(145deg,#191a1d,#101010);border:1px solid var(--antanm-border);border-radius:var(--antanm-radius);box-shadow:var(--antanm-shadow)}.antanm-auth-panel-featured{border-top:4px solid var(--antanm-gold);background:linear-gradient(160deg,#202017,#111)}.antanm-auth-panel h3{margin:0 0 7px;font-size:23px}.antanm-panel-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:16px;color:var(--antanm-gold-light);background:var(--antanm-gold-soft);border:1px solid var(--antanm-border);border-radius:14px;font-size:23px;font-weight:800}.antanm-muted{color:var(--antanm-muted)!important;margin:0 0 20px;font-size:14px}
.antanm-form{display:flex;flex-direction:column;gap:15px}.antanm-form label,.antanm-auth form label,.antanm-account label,.antanm-registration-form label{color:var(--antanm-gold-light)!important;font-size:14px;font-weight:700!important}.antanm-form label small,.antanm-auth label small,.antanm-account label small,.antanm-registration-form label small{color:var(--antanm-muted)!important;font-size:12px;font-weight:400}
.antanm-auth input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]),.antanm-account input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]),.antanm-registration-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]),.antanm-auth select,.antanm-account select,.antanm-registration-form select,.antanm-auth textarea,.antanm-account textarea,.antanm-registration-form textarea{display:block;width:100%!important;max-width:100%!important;min-height:46px;margin-top:7px;padding:11px 13px!important;color:#202124!important;-webkit-text-fill-color:#202124;background:#e9eaed!important;border:1px solid #c7c9cf!important;border-radius:9px!important;box-shadow:none!important;font-family:inherit;font-size:14px;line-height:1.6}.antanm-auth textarea,.antanm-account textarea,.antanm-registration-form textarea{min-height:110px;resize:vertical}.antanm-auth input:focus,.antanm-account input:focus,.antanm-registration-form input:focus,.antanm-auth select:focus,.antanm-account select:focus,.antanm-registration-form select:focus,.antanm-auth textarea:focus,.antanm-account textarea:focus,.antanm-registration-form textarea:focus{outline:none!important;border-color:var(--antanm-gold)!important;box-shadow:0 0 0 3px rgba(212,175,55,.2)!important}.antanm-auth input[type=file],.antanm-account input[type=file],.antanm-registration-form input[type=file]{display:block;width:100%;margin-top:8px;padding:10px;color:#eee;background:#202125;border:1px dashed #777;border-radius:9px;font-family:inherit}
.antanm-button,.antanm-submit{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:45px;padding:11px 20px;color:#111!important;-webkit-text-fill-color:#111;background:linear-gradient(135deg,#f1d77a,#c49a26);border:1px solid var(--antanm-gold);border-radius:9px;font-family:inherit;font-size:14px;font-weight:800;text-align:center;text-decoration:none!important;cursor:pointer;transition:filter .2s ease,transform .2s ease}.antanm-button:hover,.antanm-submit:hover{color:#080808!important;background:#f5df91;transform:translateY(-1px)}.antanm-form .antanm-button,.antanm-auth-panel .antanm-button{width:100%}.antanm-registration-form button[type=submit]{width:100%;min-height:50px;margin-top:10px;padding:14px 22px;color:#111!important;background:linear-gradient(135deg,#f1d77a,#c49a26);border:1px solid var(--antanm-gold);border-radius:10px;font-family:inherit;font-weight:800}
.antanm-alert{margin:14px 0;padding:13px 16px;color:#a7f3c8;background:#10291e;border:1px solid #245b40;border-right:4px solid var(--antanm-success);border-radius:9px;font-size:14px;overflow-wrap:anywhere}.antanm-auth-success{padding:45px 25px;background:linear-gradient(145deg,#191a1d,#101010);border:1px solid var(--antanm-border);border-radius:20px;text-align:center}.antanm-icon{display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;color:var(--antanm-success);font-size:30px}
.antanm-account-hero{display:flex;align-items:center;gap:22px;padding:30px;margin-bottom:24px;background:radial-gradient(circle at 8% 10%,rgba(212,175,55,.17),transparent 30%),linear-gradient(125deg,#111,#202125);border:1px solid var(--antanm-border);border-radius:20px;box-shadow:var(--antanm-shadow)}.antanm-account-hero>div{min-width:0}.antanm-account-hero p{margin:3px 0;color:#d0d0d0;overflow-wrap:anywhere}.antanm-account-hero h2{margin:2px 0 7px;font-size:clamp(23px,3vw,32px)}.antanm-account-hero .antanm-profile-photo{flex:0 0 96px;width:96px;height:96px;object-fit:cover;border:3px solid var(--antanm-gold);border-radius:50%}.antanm-account-hero .antanm-code{display:inline-block;margin-top:10px;padding:5px 12px;color:var(--antanm-gold-light);background:#ffffff0d;border:1px solid var(--antanm-border);border-radius:8px;font-size:13px}.antanm-account-card{padding:26px;margin-bottom:22px;background:linear-gradient(145deg,#191a1d,#101010);border:1px solid var(--antanm-border);border-radius:var(--antanm-radius);box-shadow:var(--antanm-shadow)}.antanm-account-card>h3{padding-bottom:12px;margin:0 0 18px;border-bottom:1px solid var(--antanm-border);font-size:21px}.antanm-account-card form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.antanm-account-card form>label:nth-of-type(4),.antanm-account-card form>button{grid-column:1/-1}.antanm-status{display:inline-flex;padding:5px 12px;color:var(--antanm-gold-light);background:var(--antanm-gold-soft);border:1px solid var(--antanm-border);border-radius:30px;font-size:13px;font-weight:800}.antanm-account-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.antanm-account>p:last-child{text-align:left}.antanm-account>p:last-child a{color:var(--antanm-muted);font-size:13px;text-decoration:underline}
.antanm-registration-form{max-width:900px;padding:32px;color:var(--antanm-text);background:linear-gradient(145deg,#191a1d,#101010);border:1px solid var(--antanm-border);border-radius:20px;box-shadow:var(--antanm-shadow)}.antanm-registration-form .antanm-section-title{padding-bottom:14px;margin:0 0 22px;border-bottom:2px solid var(--antanm-gold);font-size:clamp(22px,3vw,29px)}.antanm-registration-form form>p{margin:0 0 18px!important}.antanm-registration-form form>p>label{display:block;margin-bottom:8px!important}.antanm-registration-form .antanm-rules-panel,.antanm-rules-panel{padding:20px;margin-bottom:24px;background:#202017;border:1px solid var(--antanm-border);border-right:4px solid var(--antanm-gold);border-radius:12px}.antanm-registration-form .antanm-rules-panel h3{margin-top:0;font-size:19px}.antanm-form-logo{margin-bottom:24px;text-align:center}.antanm-form-logo img{max-width:180px;max-height:130px;object-fit:contain}.antanm-logo-placeholder{color:var(--antanm-gold-light);font-size:17px;font-weight:800}.antanm-signature-area{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:32px 0 20px}.antanm-signature-area>div{min-height:90px;padding-top:12px;color:var(--antanm-muted);border-top:1px solid #777;text-align:center;font-size:13px}
.antanm-admin-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:20px 0}.antanm-admin-card{background:#fff;border:1px solid #d4af37;border-right:5px solid #111;padding:17px;border-radius:7px}.antanm-admin-card span,.antanm-admin-card strong{display:block}.antanm-admin-card span{color:#555}.antanm-admin-card strong{font-size:27px;color:#111;margin-top:4px}.antanm-module-admin{direction:rtl;text-align:right}.antanm-module-admin label{display:block;font-weight:700;margin-bottom:7px}.antanm-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.antanm-module-admin input,.antanm-module-admin textarea,.antanm-module-admin select{max-width:100%}.antanm-media-preview{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.antanm-media-preview img,.antanm-media-preview span{width:80px;height:65px;object-fit:cover;background:#eee;border-radius:6px}.antanm-media-preview span{display:flex;align-items:center;justify-content:center;text-align:center;padding:4px;font-size:11px}
.antanm-print-application{display:none}
@media(max-width:782px){.antanm-auth,.antanm-account,.antanm-registration-form{width:calc(100% - 24px);margin:20px auto}.antanm-auth-heading{padding:30px 20px}.antanm-auth-grid{grid-template-columns:1fr;gap:15px}.antanm-auth-panel{padding:21px}.antanm-account-hero{align-items:flex-start;gap:15px;padding:20px 16px}.antanm-account-hero .antanm-profile-photo{flex-basis:72px;width:72px;height:72px}.antanm-account-card,.antanm-registration-form{padding:20px 16px}.antanm-account-card form{grid-template-columns:1fr}.antanm-account-card form>label,.antanm-account-card form>button{grid-column:1}.antanm-account-actions{flex-direction:column}.antanm-account-actions .antanm-submit,.antanm-account-actions .antanm-button{width:100%}.antanm-signature-area{grid-template-columns:1fr;gap:18px}.antanm-module-grid{grid-template-columns:1fr}}@media(max-width:420px){.antanm-account-hero{flex-direction:column}.antanm-button,.antanm-submit{padding:10px 13px;font-size:13px}.antanm-auth-panel{padding:17px}}

/* 1.2.3 — Centered application continuation card */
.antanm-continue-application-card{display:flex;align-items:center;justify-content:center;width:100%;max-width:620px;min-height:106px;margin:0 auto 28px;padding:22px;background:linear-gradient(135deg,rgba(212,175,55,.12),rgba(17,18,20,.98));border:1px solid var(--antanm-border);border-radius:16px;box-shadow:var(--antanm-shadow);text-align:center}
.antanm-continue-application-button{min-width:270px;max-width:100%;min-height:50px;padding:13px 24px;font-size:15px;gap:10px}
.antanm-continue-application-button span{font-size:18px;line-height:1}
@media(max-width:782px){.antanm-continue-application-card{max-width:100%;min-height:88px;margin:0 auto 22px;padding:16px}.antanm-continue-application-button{width:100%;min-width:0}}


/* Icon glyph compatibility: avoid theme/font overrides on mobile devices. */
.antanm-auth .antanm-panel-icon,
.antanm-auth .antanm-button span,
.antanm-account .antanm-button span,
.antanm-account .antanm-submit span,
.antanm-continue-application-button span {
    font-family: Arial, "Segoe UI Symbol", sans-serif !important;
    font-style: normal !important;
    font-variant-ligatures: none !important;
    font-weight: 600;
    line-height: 1.2;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    flex-shrink: 0;
}
.antanm-auth .antanm-panel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* 1.2.5 — Force consistent black/gold buttons over theme and Elementor hover states. */
body .antanm-auth a.antanm-button,
body .antanm-auth button.antanm-button,
body .antanm-auth a.antanm-submit,
body .antanm-auth button.antanm-submit,
body .antanm-account a.antanm-button,
body .antanm-account button.antanm-button,
body .antanm-account a.antanm-submit,
body .antanm-account button.antanm-submit,
body .antanm-registration-form a.antanm-button,
body .antanm-registration-form button.antanm-button,
body .antanm-registration-form a.antanm-submit,
body .antanm-registration-form button.antanm-submit {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  background: linear-gradient(135deg, #f1d77a, #c49a26) !important;
  border: 1px solid #d4af37 !important;
  outline: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
body .antanm-auth a.antanm-button:hover,
body .antanm-auth button.antanm-button:hover,
body .antanm-auth a.antanm-submit:hover,
body .antanm-auth button.antanm-submit:hover,
body .antanm-account a.antanm-button:hover,
body .antanm-account button.antanm-button:hover,
body .antanm-account a.antanm-submit:hover,
body .antanm-account button.antanm-submit:hover,
body .antanm-registration-form a.antanm-button:hover,
body .antanm-registration-form button.antanm-button:hover,
body .antanm-registration-form a.antanm-submit:hover,
body .antanm-registration-form button.antanm-submit:hover,
body .antanm-auth a.antanm-button:focus,
body .antanm-auth button.antanm-button:focus,
body .antanm-auth a.antanm-submit:focus,
body .antanm-auth button.antanm-submit:focus,
body .antanm-account a.antanm-button:focus,
body .antanm-account button.antanm-button:focus,
body .antanm-account a.antanm-submit:focus,
body .antanm-account button.antanm-submit:focus,
body .antanm-registration-form a.antanm-button:focus,
body .antanm-registration-form button.antanm-button:focus,
body .antanm-registration-form a.antanm-submit:focus,
body .antanm-registration-form button.antanm-submit:focus,
body .antanm-auth a.antanm-button:active,
body .antanm-auth button.antanm-button:active,
body .antanm-auth a.antanm-submit:active,
body .antanm-auth button.antanm-submit:active,
body .antanm-account a.antanm-button:active,
body .antanm-account button.antanm-button:active,
body .antanm-account a.antanm-submit:active,
body .antanm-account button.antanm-submit:active,
body .antanm-registration-form a.antanm-button:active,
body .antanm-registration-form button.antanm-button:active,
body .antanm-registration-form a.antanm-submit:active,
body .antanm-registration-form button.antanm-submit:active {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  background: #f1d77a !important;
  border-color: #d4af37 !important;
  outline: 2px solid rgba(212, 175, 55, .25) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
  filter: none !important;
}
@media print {
  body.antanm-printing-application > *:not(.antanm-print-target) { display: none !important; }
  body.antanm-printing-application > .antanm-print-target { display: block !important; }
}
