:root{
  --bg:#F7F8FC;
  --panel:#FFFFFF;
  --panel-2:#EEF2FA;
  --soft:#E6ECF7;
  --line:#D9E2F2;

  --text:#0E1B3D;
  --muted:#6E7FA3;

  --brand-dark:#0A2A66;
  --brand-deep:#144AA0;
  --brand-blue:#1D8CFF;
  --brand-cyan:#33D6F2;

  --success:#2FAE6D;
  --warning:#F2B94B;
  --danger:#E25555;

  --shadow:0 10px 24px rgba(10,42,102,.08);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,Segoe UI,Arial,sans-serif;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img,video{max-width:100%;display:block}

.mobile-topbar{
  display:none;
  position:sticky;
  top:0;
  z-index:1200;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}

.mobile-brand{
  display:flex;
  align-items:center;
  min-width:0;
}

.mobile-brand-logo{
  display:block;
  width:140px;
  max-width:100%;
  height:auto;
  object-fit:contain;
}

.mobile-logout{
  font-size:13px;
  font-weight:700;
  color:var(--brand-deep);
}

.menu-toggle{
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:0;
  cursor:pointer;
  flex:0 0 44px;
}

.menu-toggle span{
  display:block;
  width:18px;
  height:2px;
  background:var(--brand-dark);
  border-radius:999px;
}

.sidebar-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(10,27,61,.18);
  z-index:1090;
}

.app-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
}

.sidebar{
  background:linear-gradient(180deg,#FFFFFF 0%, #F6F8FD 100%);
  border-right:1px solid var(--line);
  padding:24px 18px;
  display:flex;
  flex-direction:column;
  gap:24px;
  min-width:0;
  z-index:1100;
}

.brand-block{
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 8px 18px 8px;
  border-bottom:1px solid var(--line);
}

.brand-block-logo{
  justify-content:center;
  padding:10px 8px 22px 8px;
}

.sidebar-brand-logo{
  display:block;
  width:min(100%, 220px);
  height:auto;
  object-fit:contain;
}

.brand-mark{
  width:48px;
  height:48px;
  border-radius:16px;
  background:linear-gradient(145deg,var(--brand-cyan) 0%, var(--brand-blue) 100%);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:22px;
  box-shadow:0 8px 24px rgba(29,140,255,.20);
  flex:0 0 48px;
}

.brand-mark.small{
  width:38px;
  height:38px;
  border-radius:12px;
  font-size:18px;
  flex:0 0 38px;
}

.brand-title{
  font-size:20px;
  font-weight:800;
  letter-spacing:.2px;
  color:var(--brand-dark);
}

.brand-subtitle{
  font-size:12px;
  color:var(--muted);
  margin-top:2px;
}

.nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.nav-link{
  display:flex;
  align-items:center;
  padding:13px 14px;
  border-radius:14px;
  color:var(--muted);
  background:transparent;
  transition:.2s ease;
  font-weight:600;
  border:1px solid transparent;
}

.nav-link:hover,
.nav-link:focus{
  background:#EEF6FF;
  color:var(--brand-dark);
  border-color:#CFE4FF;
}

.sidebar-footer{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.user-chip{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:16px;
  background:#F7F9FD;
  border:1px solid var(--line);
  min-width:0;
}

.user-avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  background:linear-gradient(145deg,var(--brand-cyan),var(--brand-blue));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  flex:0 0 40px;
}

.user-name{
  font-weight:700;
  font-size:14px;
  overflow-wrap:anywhere;
}
.user-role{
  font-size:12px;
  color:var(--muted);
}

.logout-btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--brand-dark);
  font-weight:700;
}

.main{
  padding:28px;
  min-width:0;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin-bottom:24px;
  flex-wrap:wrap;
}

.page-title{
  margin:0;
  font-size:32px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:-.02em;
  overflow-wrap:anywhere;
  color:var(--brand-dark);
}

.page-subtitle{
  margin:8px 0 0 0;
  color:var(--muted);
  font-size:15px;
}

.topbar-right{
  width:auto;
  max-width:100%;
}

.status-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:#EEF6FF;
  border:1px solid #CFE4FF;
  color:var(--brand-deep);
  font-weight:700;
  font-size:13px;
  white-space:nowrap;
}

.content-area{
  display:flex;
  flex-direction:column;
  gap:22px;
  min-width:0;
}

.grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:20px;
}

.card{
  grid-column:span 12;
  background:linear-gradient(180deg,#FFFFFF 0%, #FDFEFF 100%);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:22px;
  min-width:0;
}

.card h2,.card h3{
  margin:0 0 14px 0;
  font-size:20px;
  overflow-wrap:anywhere;
  color:var(--brand-dark);
}

.card p{
  margin:0;
  color:var(--muted);
  overflow-wrap:anywhere;
}

.grid > .card:nth-child(1),
.grid > .card:nth-child(2),
.grid > .card:nth-child(3),
.grid > .card:nth-child(4),
.grid > .card:nth-child(5),
.grid > .card:nth-child(6){
  grid-column:span 4;
}

form{
  display:grid;
  gap:16px;
}

.form-group{
  display:grid;
  gap:8px;
  min-width:0;
}

label{
  font-size:13px;
  color:var(--muted);
  font-weight:700;
}

input,select,textarea{
  width:100%;
  background:#FFFFFF;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 14px;
  color:var(--text);
  outline:none;
  font-size:16px;
  min-width:0;
}

input:focus,select:focus,textarea:focus{
  border-color:var(--brand-blue);
  box-shadow:0 0 0 4px rgba(29,140,255,.10);
}

textarea{
  resize:vertical;
}

button{
  appearance:none;
  border:none;
  border-radius:14px;
  padding:14px 18px;
  background:linear-gradient(145deg,var(--brand-blue) 0%, var(--brand-cyan) 100%);
  color:#FFFFFF;
  font-weight:800;
  cursor:pointer;
  transition:transform .15s ease, opacity .15s ease;
  width:fit-content;
  max-width:100%;
  box-shadow:0 8px 18px rgba(29,140,255,.16);
}

button:hover{
  transform:translateY(-1px);
  opacity:.97;
}

.table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:16px;
}

table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  min-width:760px;
}

thead th{
  text-align:left;
  font-size:12px;
  color:var(--muted);
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:14px 12px;
  border-bottom:1px solid var(--line);
  white-space:nowrap;
}

tbody td{
  padding:16px 12px;
  border-bottom:1px solid #EEF2FA;
  vertical-align:top;
  overflow-wrap:anywhere;
}

tbody tr:hover{
  background:#F8FBFF;
}

ul{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}

li{
  margin:8px 0;
}

video,audio{
  border-radius:14px;
  overflow:hidden;
  background:#000;
  width:100%;
  max-width:320px;
}

canvas{
  width:100% !important;
  max-height:320px;
}

.auth-wrap{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
}

.auth-card{
  width:min(100%,480px);
  background:#FFFFFF;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:28px;
}

.auth-title{
  margin:0 0 8px 0;
  font-size:30px;
  font-weight:800;
  color:var(--brand-dark);
}

.auth-subtitle{
  margin:0 0 22px 0;
  color:var(--muted);
}

.notice{
  padding:12px 14px;
  border-radius:12px;
  background:#FFF3F3;
  border:1px solid #FFD6D6;
  color:#B23B3B;
  margin-bottom:14px;
  overflow-wrap:anywhere;
}

.login-brand-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:20px;
}

.login-logo{
  display:block;
  width:min(100%, 480px);
  height:auto;
  object-fit:contain;
}

.branded-auth-wrap{
  background:
    radial-gradient(circle at top left, rgba(51,214,242,.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(29,140,255,.08), transparent 30%),
    linear-gradient(180deg,#F7F8FC 0%, #EEF3FB 100%);
}

.branded-auth-card{
  max-width:520px;
}

.sidebar .brand-title,
.sidebar .brand-subtitle,
.mobile-brand .brand-title,
.mobile-brand .brand-subtitle{
  display:none;
}

@media (max-width: 1100px){
  .mobile-topbar{
    display:flex;
  }

  .app-shell{
    grid-template-columns:1fr;
  }

  .sidebar{
    position:fixed;
    top:0;
    left:0;
    height:100vh;
    width:min(82vw, 320px);
    transform:translateX(-100%);
    transition:transform .24s ease;
    border-right:1px solid var(--line);
    box-shadow:var(--shadow);
  }

  body.sidebar-open .sidebar{
    transform:translateX(0);
  }

  body.sidebar-open .sidebar-overlay{
    display:block;
  }

  .main{
    padding:20px;
  }

  .grid > .card:nth-child(1),
  .grid > .card:nth-child(2),
  .grid > .card:nth-child(3),
  .grid > .card:nth-child(4),
  .grid > .card:nth-child(5),
  .grid > .card:nth-child(6){
    grid-column:span 12;
  }

  .mobile-brand-logo{
    width:128px;
  }
}

@media (max-width: 768px){
  .main{
    padding:14px;
  }
  .topbar{
    margin-bottom:18px;
    gap:14px;
  }
  .page-title{
    font-size:24px;
  }
  .page-subtitle{
    font-size:14px;
  }
  .grid{
    gap:14px;
  }
  .card{
    padding:16px;
    border-radius:18px;
  }
  .card h2,.card h3{
    font-size:18px;
  }
  form{
    gap:14px;
  }
  input,select,textarea{
    padding:13px 12px;
    border-radius:12px;
  }
  button{
    width:100%;
    justify-content:center;
  }
  .status-pill{
    width:100%;
    justify-content:center;
  }
  video,audio{
    max-width:100%;
  }
}

@media (max-width: 560px){
  .mobile-topbar{
    padding:10px 12px;
  }

  .mobile-brand-logo{
    width:118px;
  }

  .mobile-logout{
    font-size:12px;
  }

  .auth-wrap{
    padding:12px;
  }
  .auth-card{
    padding:20px;
    border-radius:20px;
  }
  .auth-title{
    font-size:24px;
  }
  .page-title{
    font-size:22px;
  }
  .card{
    padding:14px;
  }
  .table-wrap{
    margin:0 -4px;
  }

  .login-logo{
    width:min(100%, 280px);
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr{
    display:block;
    width:100%;
  }

  table{
    min-width:0;
  }

  thead{
    display:none;
  }

  tbody tr{
    margin-bottom:14px;
    padding:14px;
    border:1px solid var(--line);
    border-radius:16px;
    background:#FFFFFF;
  }

  tbody td{
    border-bottom:none;
    padding:8px 0;
  }

  tbody td::before{
    content: attr(data-label);
    display:block;
    font-size:11px;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:.05em;
    margin-bottom:4px;
    font-weight:800;
  }
}

/* ===== Adobe-like Split Login ===== */
.login-split-page{
  min-height:100vh;
  display:grid;
  grid-template-columns: 3.2fr 1fr;
  background:#F7F8FC;
}

.login-visual-panel{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  background:#0A2A66;
}

.login-slides{
  position:absolute;
  inset:0;
}

.login-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:0;
  transform:scale(1.03);
  transition:opacity .8s ease, transform 4.5s ease;
}

.login-slide.active{
  opacity:1;
  transform:scale(1);
}

.login-visual-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(10,42,102,.28) 0%, rgba(10,42,102,.58) 100%);
}

.login-visual-content{
  position:relative;
  z-index:2;
  height:100%;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:48px;
  color:#FFFFFF;
}

.login-visual-logo{
  width:min(100%, 320px);
  height:auto;
  margin-bottom:28px;
  object-fit:contain;
}

.login-visual-title{
  margin:0 0 12px 0;
  font-size:42px;
  line-height:1.05;
  font-weight:800;
  max-width:760px;
}

.login-visual-text{
  margin:0;
  font-size:18px;
  line-height:1.6;
  color:rgba(255,255,255,.88);
  max-width:720px;
}

.login-slide-dots{
  display:flex;
  gap:10px;
  margin-top:28px;
}

.login-slide-dots .dot{
  width:12px;
  height:12px;
  border-radius:999px;
  border:none;
  padding:0;
  background:rgba(255,255,255,.35);
  cursor:pointer;
  box-shadow:none;
}

.login-slide-dots .dot.active{
  background:#33D6F2;
}

.login-form-panel{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#F7F8FC;
  border-left:1px solid #D9E2F2;
  padding:24px;
}

.login-form-wrap{
  width:min(100%, 420px);
}

.login-form-brand{
  margin-bottom:24px;
}

.login-form-logo{
  width:min(100%, 220px);
  height:auto;
  object-fit:contain;
}

.login-form-title{
  margin:0 0 8px 0;
  font-size:34px;
  font-weight:800;
  color:#0A2A66;
}

.login-form-subtitle{
  margin:0 0 24px 0;
  color:#6E7FA3;
  font-size:15px;
}

.login-form-grid{
  display:grid;
  gap:16px;
}

@media (max-width: 1200px){
  .login-split-page{
    grid-template-columns: 4fr 2fr;
  }

  .login-visual-title{
    font-size:34px;
  }

  .login-visual-text{
    font-size:16px;
  }
}

@media (max-width: 900px){
  .login-split-page{
    grid-template-columns: 1fr;
  }

  .login-visual-panel{
    display:none;
  }

  .login-form-panel{
    border-left:none;
    min-height:100vh;
    padding:20px;
  }

  .login-form-wrap{
    width:min(100%, 460px);
  }
}
/* ===== End Adobe-like Split Login ===== */

/* ===== Login Social Auth Buttons ===== */
.social-auth-stack{
  display:grid;
  gap:12px;
  margin-bottom:20px;
}

.social-auth-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:100%;
  min-height:52px;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#FFFFFF;
  color:var(--text);
  font-weight:700;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  box-shadow:0 4px 12px rgba(10,42,102,.04);
}

.social-auth-btn:hover{
  transform:translateY(-1px);
  border-color:#C7D8F6;
  box-shadow:0 8px 18px rgba(10,42,102,.08);
}

.social-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:999px;
  font-size:16px;
  font-weight:900;
  flex:0 0 28px;
}

.google-icon{
  background:#F1F5FF;
  color:#1D8CFF;
}

.apple-icon{
  background:#EEF2FA;
  color:#0E1B3D;
  font-size:18px;
}

.auth-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:18px 0;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.auth-divider::before,
.auth-divider::after{
  content:"";
  flex:1;
  height:1px;
  background:var(--line);
}
/* ===== End Login Social Auth Buttons ===== */

/* ===== Signup / Activation ===== */
.signup-link-wrap{
  margin-top:20px;
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-start;
}

.signup-helper{
  color:var(--muted);
  font-size:14px;
}

.signup-link-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#FFFFFF;
  color:var(--brand-dark);
  font-weight:700;
}

.wide-auth-card{
  width:min(100%, 760px);
}

.checkbox-group label{
  display:flex;
  gap:10px;
  align-items:flex-start;
  line-height:1.5;
  color:var(--text);
}

.checkbox-group input{
  width:auto;
  margin-top:3px;
}
/* ===== End Signup / Activation ===== */

/* ===== Horizontal Social Icons Under Login ===== */
.auth-divider-tight{
  margin:16px 0 14px 0;
}

.social-auth-inline{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}

.social-icon-btn{
  width:54px;
  height:54px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#FFFFFF;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 12px rgba(10,42,102,.05);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.social-icon-btn:hover{
  transform:translateY(-1px);
  border-color:#C7D8F6;
  box-shadow:0 8px 18px rgba(10,42,102,.08);
}

.social-icon-btn .social-icon{
  width:30px;
  height:30px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:16px;
}

.google-icon{
  background:#F1F5FF;
  color:#1D8CFF;
}

.apple-icon{
  background:#EEF2FA;
  color:#0E1B3D;
  font-size:20px;
}

@media (max-width: 560px){
  .social-auth-inline{
    justify-content:flex-start;
  }

  .social-icon-btn{
    width:50px;
    height:50px;
    border-radius:14px;
  }
}
/* ===== End Horizontal Social Icons ===== */

/* ===== Strimaax Adobe-like Login ===== */
.adobe-login-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns: 4fr 2fr;
  background:#F7F8FC;
}

.adobe-login-visual{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  background:#0A2A66;
}

.adobe-slides{
  position:absolute;
  inset:0;
}

.adobe-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:0;
  transition:opacity .7s ease;
}

.adobe-slide.active{
  opacity:1;
}

.adobe-visual-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(10,42,102,.18) 0%, rgba(10,42,102,.50) 100%);
}

.adobe-visual-content{
  position:relative;
  z-index:2;
  min-height:100vh;
  padding:40px 48px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.adobe-visual-logo{
  width:min(100%, 280px);
  margin-bottom:28px;
}

.adobe-visual-copy h1{
  margin:0 0 10px 0;
  color:#fff;
  font-size:42px;
  line-height:1.05;
  font-weight:800;
  max-width:760px;
}

.adobe-visual-copy p{
  margin:0;
  color:rgba(255,255,255,.88);
  font-size:17px;
  line-height:1.6;
  max-width:680px;
}

.adobe-slide-dots{
  display:flex;
  gap:10px;
  margin-top:26px;
}

.adobe-slide-dots .dot{
  width:10px;
  height:10px;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.35);
  padding:0;
  cursor:pointer;
}

.adobe-slide-dots .dot.active{
  background:#33D6F2;
}

.adobe-login-panel{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#FFFFFF;
  border-left:1px solid #E4EAF5;
  padding:44px;
}

.adobe-login-panel-inner{
  width:min(100%, 480px);
}

.adobe-form-logo{
  width:180px;
  height:auto;
  margin-bottom:28px;
}

.adobe-form-title{
  margin:0;
  font-size:32px;
  line-height:1.1;
  color:#0E1B3D;
  font-weight:800;
}

.adobe-form-subtitle{
  margin:8px 0 24px 0;
  color:#6E7FA3;
  font-size:14px;
}

.adobe-form{
  display:grid;
  gap:16px;
}

.adobe-primary-btn{
  width:100%;
}

.adobe-auth-row{
  margin-top:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.adobe-auth-label{
  font-size:13px;
  color:#6E7FA3;
  font-weight:700;
}

.adobe-social-inline{
  display:flex;
  gap:12px;
}

.adobe-social-btn{
  width:48px;
  height:48px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#FFFFFF;
  border:1px solid #D9E2F2;
  box-shadow:0 2px 8px rgba(10,42,102,.04);
  transition:all .15s ease;
}

.adobe-social-btn:hover{
  transform:translateY(-1px);
  border-color:#C7D8F6;
  box-shadow:0 8px 18px rgba(10,42,102,.08);
}

.adobe-signup-row{
  margin-top:24px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  color:#6E7FA3;
  font-size:14px;
}

.adobe-signup-row a{
  color:#144AA0;
  font-weight:700;
}

@media (max-width: 1100px){
  .adobe-login-shell{
    grid-template-columns: 3fr 2fr;
  }

  .adobe-visual-copy h1{
    font-size:34px;
  }
}

@media (max-width: 900px){
  .adobe-login-shell{
    grid-template-columns:1fr;
  }

  .adobe-login-visual{
    display:none;
  }

  .adobe-login-panel{
    border-left:none;
    background:#F7F8FC;
  }

  .adobe-login-panel-inner{
    width:min(100%, 420px);
    background:#FFFFFF;
    border:1px solid #E4EAF5;
    border-radius:24px;
    box-shadow:0 10px 24px rgba(10,42,102,.08);
    padding:24px;
  }
}
/* ===== End Strimaax Adobe-like Login ===== */

/* ===== Forced wider login panel override ===== */
.adobe-login-shell{
  grid-template-columns: 4fr 2fr !important;
}

.adobe-login-panel{
  padding: 48px !important;
}

.adobe-login-panel-inner{
  width: min(100%, 520px) !important;
}

@media (max-width: 1100px){
  .adobe-login-shell{
    grid-template-columns: 3fr 2fr !important;
  }
}

@media (max-width: 900px){
  .adobe-login-shell{
    grid-template-columns: 1fr !important;
  }

  .adobe-login-panel-inner{
    width: min(100%, 520px) !important;
  }
}
/* ===== End forced wider login panel override ===== */

/* ===== Overlay Login on Top of Slides ===== */
.overlay-login-shell{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  background:#0A2A66;
}

.overlay-login-slides{
  position:absolute;
  inset:0;
}

.overlay-login-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:0;
  transform:scale(1.02);
  transition:opacity .8s ease, transform 5s ease;
}

.overlay-login-slide.active{
  opacity:1;
  transform:scale(1);
}

.overlay-login-backdrop{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(10,42,102,.58) 0%, rgba(10,42,102,.30) 40%, rgba(247,248,252,.14) 100%),
    linear-gradient(180deg, rgba(10,42,102,.18) 0%, rgba(10,42,102,.42) 100%);
}

.overlay-login-content{
  position:relative;
  z-index:2;
  min-height:100vh;
  display:grid;
  grid-template-columns: 1.2fr minmax(420px, 560px);
  align-items:center;
  justify-content:space-between;
  gap:40px;
  padding:48px 56px;
}

.overlay-login-branding{
  color:#FFFFFF;
  max-width:720px;
}

.overlay-brand-logo{
  width:min(100%, 300px);
  height:auto;
  margin-bottom:28px;
}

.overlay-brand-title{
  margin:0 0 12px 0;
  font-size:48px;
  line-height:1.02;
  font-weight:800;
}

.overlay-brand-text{
  margin:0;
  font-size:18px;
  line-height:1.65;
  color:rgba(255,255,255,.90);
  max-width:620px;
}

.overlay-slide-dots{
  display:flex;
  gap:10px;
  margin-top:28px;
}

.overlay-slide-dots .dot{
  width:11px;
  height:11px;
  border-radius:999px;
  border:none;
  padding:0;
  background:rgba(255,255,255,.35);
  cursor:pointer;
}

.overlay-slide-dots .dot.active{
  background:#33D6F2;
}

.overlay-login-card{
  width:100%;
  max-width:560px;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.45);
  border-radius:28px;
  box-shadow:0 18px 48px rgba(10,42,102,.18);
  padding:38px 34px;
}

.overlay-card-logo{
  width:190px;
  height:auto;
  margin-bottom:22px;
}

.overlay-card-title{
  margin:0;
  font-size:34px;
  line-height:1.1;
  font-weight:800;
  color:#0E1B3D;
}

.overlay-card-subtitle{
  margin:8px 0 22px 0;
  color:#6E7FA3;
  font-size:15px;
}

.overlay-login-form{
  display:grid;
  gap:16px;
}

.overlay-primary-btn{
  width:100%;
}

@media (max-width: 1200px){
  .overlay-login-content{
    grid-template-columns: 1fr minmax(400px, 520px);
    padding:40px 40px;
  }

  .overlay-brand-title{
    font-size:40px;
  }
}

@media (max-width: 920px){
  .overlay-login-content{
    grid-template-columns: 1fr;
    justify-items:center;
    text-align:left;
    padding:24px 18px;
  }

  .overlay-login-branding{
    width:100%;
    max-width:680px;
    margin-bottom:6px;
  }

  .overlay-login-card{
    max-width:560px;
  }
}

@media (max-width: 640px){
  .overlay-login-content{
    padding:16px;
    gap:20px;
  }

  .overlay-login-branding{
    display:none;
  }

  .overlay-login-card{
    max-width:100%;
    padding:26px 20px;
    border-radius:22px;
  }

  .overlay-card-title{
    font-size:28px;
  }

  .overlay-card-logo{
    width:160px;
  }
}
/* ===== End Overlay Login ===== */

/* ===== Light editor before upload ===== */
.light-editor-card{
  margin-top:12px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel-2);
}

.light-editor-preview-wrap{
  margin-bottom:18px;
}

.light-editor-preview-wrap video{
  width:100%;
  max-width:100%;
  border-radius:16px;
  background:#000;
}

.editor-meta-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}

.editor-stat{
  padding:12px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
}

.editor-stat-label{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.editor-controls-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:6px;
}

.secondary-btn{
  background:#FFFFFF;
  color:var(--brand-dark);
  border:1px solid var(--line);
  box-shadow:none;
}

.editor-help-text{
  margin-top:14px !important;
  font-size:13px;
  color:var(--muted) !important;
}

@media (max-width: 768px){
  .editor-meta-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .editor-controls-row{
    flex-direction:column;
  }

  .secondary-btn{
    width:100%;
  }
}

@media (max-width: 520px){
  .editor-meta-grid{
    grid-template-columns:1fr;
  }
}
/* ===== End light editor ===== */
