/* ============================================================
   AIMORA AI v2.0.2 — Tijarah40 Profiling + Footer Contrast Fix
   Additive overrides only. LSRW modules are untouched.
   ============================================================ */

/*
 * Root cause fix:
 * assets/app.css contains `footer{background:transparent!important}`.
 * Public pages already override this, but authenticated app-shell pages did not,
 * leaving white page background behind white footer typography.
 */
.app-shell .aimora-footer{
  background:#040a1c!important;
  color:#fff!important;
  border-top:0!important;
}
.app-shell .aimora-footer .footer-brand,
.app-shell .aimora-footer .footer-title,
.app-shell .aimora-footer .footer-company-name{color:#fff!important}
.app-shell .aimora-footer .footer-tagline{color:rgba(255,255,255,.72)!important}
.app-shell .aimora-footer .footer-edition{color:rgba(255,255,255,.48)!important}
.app-shell .aimora-footer .footer-company-reg{color:rgba(255,255,255,.67)!important}
.app-shell .aimora-footer .footer-address,
.app-shell .aimora-footer .footer-market-copy{color:rgba(255,255,255,.54)!important}
.app-shell .aimora-footer a{color:rgba(255,255,255,.62)!important}
.app-shell .aimora-footer a:hover{color:#fff!important}
.app-shell .aimora-footer .footer-company-card,
.app-shell .aimora-footer .footer-market-link{
  background:rgba(255,255,255,.04)!important;
  border-color:rgba(255,255,255,.08)!important;
}
.app-shell .aimora-footer .footer-market-link strong{color:#fff!important}
.app-shell .aimora-footer .footer-market-link small{color:rgba(255,255,255,.5)!important}
.app-shell .aimora-footer .footer-line{border-color:rgba(255,255,255,.1)!important}
.app-shell .aimora-footer .aimora-footer-bottom{color:rgba(255,255,255,.45)!important}
.app-shell .aimora-footer .aimora-footer-bottom strong{color:rgba(255,255,255,.72)!important}

/* Tijarah40 navigation accent */
.app-shell .aimora-dd-icon-tijarah{
  background:linear-gradient(135deg,#fff4d8,#f0fdf4)!important;
  color:#9a6700!important;
}

/* Student profiling bridge */
.tijarah40-page{max-width:1180px}
.tijarah40-hero{
  position:relative;
  overflow:hidden;
  padding:32px;
  border-radius:28px;
  color:#fff;
  background:
    radial-gradient(circle at 88% 10%,rgba(245,183,44,.24),transparent 28%),
    radial-gradient(circle at 10% 100%,rgba(55,198,151,.15),transparent 32%),
    linear-gradient(128deg,#071126,#152457 64%,#3b2871);
  box-shadow:0 22px 58px rgba(10,20,48,.15);
}
.tijarah40-kicker{font-size:.7rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#fbd67a}
.tijarah40-hero h1{font-size:clamp(2rem,4vw,3.2rem);font-weight:950;letter-spacing:-.04em;margin:8px 0 10px}
.tijarah40-hero p{max-width:760px;margin:0;color:rgba(255,255,255,.7);font-size:1rem;line-height:1.7}
.tijarah40-status{
  display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:8px 11px;border-radius:999px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);font-size:.72rem;font-weight:800
}
.tijarah40-dot{width:8px;height:8px;border-radius:50%;background:#59d79c;box-shadow:0 0 0 5px rgba(89,215,156,.12)}
.tijarah40-card{height:100%;padding:22px;border-radius:22px;background:#fff;border:1px solid #e7e9f1;box-shadow:0 14px 40px rgba(17,24,39,.045)}
.tijarah40-card .icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(135deg,#fff4d8,#effcf6);font-size:1.05rem}
.tijarah40-card h2{font-size:1rem;font-weight:900;margin:14px 0 8px}
.tijarah40-card p{font-size:.86rem;color:#737b8c;line-height:1.6;margin:0}
.tijarah40-action{
  display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;
  padding:22px;border-radius:22px;background:linear-gradient(135deg,#fffaf0,#f6fbff);border:1px solid #e9e4d8
}
.tijarah40-action strong{display:block;font-size:1rem}.tijarah40-action small{display:block;color:#777f90;margin-top:4px}

/* Student profile integration card */
.profile-integration-card{
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  margin-top:18px;padding:18px;border-radius:18px;border:1px solid #ebe5d5;
  background:linear-gradient(135deg,#fffaf0,#f7fbff)
}
.profile-integration-card .profile-integration-copy{display:flex;gap:13px;align-items:flex-start;min-width:0;flex:1}
.profile-integration-card .profile-integration-icon{
  width:42px;height:42px;flex:0 0 42px;display:flex;align-items:center;justify-content:center;
  border-radius:13px;background:linear-gradient(135deg,#ffedbd,#e8faf2);font-weight:950;color:#855d00
}
.profile-integration-card h3{font-size:.95rem;font-weight:900;margin:0 0 4px}
.profile-integration-card p{font-size:.78rem;color:#778091;line-height:1.5;margin:0}

/* Admin integration settings */
.integration-setting-card{border:1px solid #e7e9f1;border-radius:22px;background:#fff;box-shadow:0 12px 36px rgba(17,24,39,.04)}
.integration-badge{display:inline-flex;padding:.36rem .58rem;border-radius:999px;background:#eefaf5;color:#16744d;font-size:.67rem;font-weight:900}

@media(max-width:767.98px){
  .tijarah40-hero{padding:24px 20px;border-radius:22px}
  .profile-integration-card .btn{width:100%}
  .tijarah40-action .btn{width:100%}
}
