/* CSS login */

  :root{
    --red: #159C79;
    --red-dark: #0E7A5F;
    --maroon-bg: #0B3B34;
    --maroon-bg-2: #082B26;
    --ink: #1c1c1c;
    --muted: #6b6b6b;
    --border: #e2e2e2;
    --card-bg: #ffffff;
    --field-bg: #fafafa;
  }

  *{box-sizing:border-box;}
  html,body{margin:0;padding:0;}
  body{
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background:#fff;
  }

  a{color:inherit;text-decoration:none;}

  .app{
    min-height:100vh;
    display:flex;
    flex-direction:column;
  }

  .main{
    flex:1;
    display:grid;
    grid-template-columns: 460px 1fr;
    min-height: calc(100vh - 46px);
  }

  /* ---------- LEFT PANEL ---------- */
  .left{
    background:#fff;
    padding: 40px 56px 40px 56px;
    display:flex;
    flex-direction:column;
  }

  .brand{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom: 6px;
  }
  .brand-icon{
    width:34px;height:34px;border-radius:9px;
    background: linear-gradient(145deg, var(--red), var(--red-dark));
    display:flex;align-items:center;justify-content:center;
    color:#fff;font-weight:800;font-size:16px;
    flex:none;
  }
  .brand-text{
    display:flex; align-items:baseline; gap:8px; flex-wrap:wrap;
  }
  .brand-text .zyn{ font-size:20px; font-weight:800; color:#1c1c1c; letter-spacing:0.2px;}
  .brand-sep{ color:#c9c9c9; font-weight:300; }
  .brand-text .ft{ font-size:19px; font-weight:800; color:var(--red); }
  .brand-text .prog{ display:block; font-size:10px; color:#8b8b8b; letter-spacing:1px; margin-top:-2px;}

  .portal-label{
    font-size:11px;
    letter-spacing:1.5px;
    color: var(--red);
    font-weight:700;
    margin: 18px 0 26px 0;
    position:relative;
    display:inline-block;
    padding-bottom:8px;
  }
  .portal-label::after{
    content:"";
    position:absolute; left:0; bottom:0;
    width:26px; height:2px; background:var(--red);
  }

  .card{
    background: var(--card-bg);
    border:1px solid var(--border);
    border-radius:14px;
    padding: 30px 30px 26px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  }

  .card h1{
    font-size:22px;
    margin:0 0 6px 0;
    font-weight:800;
  }
  .card p.sub{
    margin:0 0 22px 0;
    color:var(--muted);
    font-size:13.5px;
  }

  .field{ margin-bottom:16px; }
  .field label{
    display:block;
    font-size:12.5px;
    font-weight:700;
    margin-bottom:6px;
    color:#2a2a2a;
  }
  .input-wrap{
    position:relative;
    display:flex;
    align-items:center;
  }
  .input-wrap svg{
    position:absolute; left:12px;
    width:15px;height:15px;
    color:#9a9a9a;
    pointer-events:none;
  }
  .input-wrap input{
    width:100%;
    padding: 11px 12px 11px 36px;
    border:1px solid var(--border);
    background: var(--field-bg);
    border-radius:8px;
    font-size:13.5px;
    outline:none;
    color:#1c1c1c;
    transition:border-color .15s, box-shadow .15s;
  }
  .input-wrap input::placeholder{ color:#adadad; }
  .input-wrap input:focus{
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200,30,44,0.12);
    background:#fff;
  }
  .toggle-eye{
    position:absolute; right:12px;
    background:none;border:none;cursor:pointer;
    color:#9a9a9a; padding:0; display:flex;
  }
  .toggle-eye svg{ position:static; width:16px;height:16px; }

  .captcha-box{
    display:flex; align-items:center; justify-content:space-between;
    background: #fbfefd;
    border:1.5px dashed #9fd6c4;
    border-radius:8px;
    padding: 10px 14px;
    margin-bottom:14px;
  }
  .captcha-text{
    font-family: Georgia, 'Times New Roman', serif;
    font-weight:700;
    font-size:24px;
    letter-spacing:6px;
    color: var(--red-dark);
    filter: drop-shadow(0.5px 0.5px 0 rgba(0,0,0,0.15));
    transform: skewX(-6deg);
    user-select:none;
  }
  .captcha-actions{
    display:flex; flex-direction:column; gap:6px; align-items:center;
  }
  .captcha-actions button{
    background:none; border:none; cursor:pointer;
    display:flex; align-items:center; gap:4px;
    color:#6b6b6b; font-size:11px;
  }
  .captcha-actions svg{ width:14px;height:14px; }

  .row-between{
    display:flex; align-items:center; justify-content:space-between;
    margin: 4px 0 20px 0;
    font-size:13px;
  }
  .remember{ display:flex; align-items:center; gap:7px; color:#3a3a3a; }
  .remember input{ accent-color: var(--red); width:14px; height:14px; }
  .forgot{ color: var(--red); font-weight:600; }
  .forgot:hover{ text-decoration:underline; }

  .btn{
    width:100%;
    padding:12px 14px;
    border-radius:9px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    border:none;
    display:flex; align-items:center; justify-content:center; gap:8px;
    transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  }
  .btn svg{ width:15px;height:15px; }
  .btn-primary{
    background: linear-gradient(180deg, #185270, var(--red-dark));
    color:#fff;
    box-shadow: 0 8px 18px rgba(24,84,112,0.28);
    margin-bottom:12px;
  }
  .btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 10px 22px rgba(200,30,44,0.35); }
  .btn-primary:disabled{ opacity:.7; cursor:progress; transform:none; }
  .btn-secondary{
    background:#fff;
    border:1px solid #d8d8d8;
    color:#2a2a2a;
    margin-bottom:20px;
  }
  .btn-secondary:hover{ border-color:#b7b7b7; }

  .support{
    text-align:center;
    font-size:12.5px;
    color:#6b6b6b;
    display:flex; align-items:center; justify-content:center; gap:6px;
  }
  .support svg{ width:14px;height:14px; }
  .support a{ color:var(--red); font-weight:700; }
  .support a:hover{ text-decoration:underline; }

  .field-error{
    display:none;
    font-size:11.5px;
    color:var(--red);
    margin-top:5px;
    font-weight:600;
  }
  .input-wrap.error input{ border-color: var(--red); background:#fff6f6; }
  .field.has-error .field-error{ display:block; }

  /* ---------- RIGHT PANEL ---------- */
    .right{
    position:relative;
    overflow:hidden;
    background:
    url("images/BackgroundRight.png") center/cover no-repeat, linear-gradient(155deg, rgba(58,10,16,0.85) 0%, rgba(42,7,12,0.9) 100%);
    padding: 30px 56px 40px 56px;
    display:flex;
    flex-direction:column;
  }
  /* faint full-panel dot grid */
  .right::before{
    content:"";
    position:absolute; inset:0;
    background-image:
      radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity:0.1;
    pointer-events:none;
  }
  /* archipelago-style glowing dot cluster + network lines, right side */
  .right::after{
    content:"";
    position:absolute;
    top:0; right:-4%; width:56%; height:100%;
    background-image: url(images/"images/BackgroundRight.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    filter: drop-shadow(0 0 6px rgba(35,201,154,0.35));
    opacity:0.9;
    pointer-events:none;
  }
  .right .content{ position:relative; z-index:1; }

  .top-bar-right{
    display:flex; justify-content:flex-end; margin-bottom:18px;
  }
  .dark-toggle{
    display:flex; align-items:center; gap:8px;
    background: rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.15);
    padding:7px 12px;
    border-radius:20px;
    font-size:12.5px;
  }
  .dark-toggle svg{ width:14px;height:14px; }
  .switch{
    width:34px; height:18px; border-radius:20px;
    background: var(--red);
    position:relative; cursor:pointer; border:none;
  }
  .switch::after{
    content:""; position:absolute; top:2px; right:2px;
    width:14px; height:14px; border-radius:50%; background:#fff;
    transition: all .15s ease;
  }
  .switch.off{ background:rgba(255,255,255,0.2); }
  .switch.off::after{ right:auto; left:2px; }

  .right-brand{
    display:flex; align-items:center; gap:10px; margin-bottom:34px;
  }
  .right-brand .brand-icon{ background: linear-gradient(145deg, #fff, #ddd); }
  .right-brand .brand-icon{ background: linear-gradient(145deg, var(--red), var(--red-dark)); }
  .right-brand .zyn{ color:#fff; }
  .right-brand .brand-sep{ color:rgba(255,255,255,0.35); }
  .right-brand .prog{ color: rgba(255,255,255,0.55); }

  .hero h2{
    font-size: 40px;
    line-height:1.18;
    margin:0 0 18px 0;
    font-weight:800;
    max-width:560px;
  }
  .hero h2 .white{ color:#fff; display:block; }
  .hero h2 .accent{ color:#7cb6d4; display:block; }

  .hero p{
    font-size:14.5px;
    color: rgba(255,255,255,0.72);
    max-width:480px;
    line-height:1.6;
    margin:0 0 30px 0;
  }

  .flags{
    display:grid;
    grid-template-columns: repeat(5, 1fr);
    gap:12px;
    margin-bottom:34px;
  }
  .flag-btn{
    display:flex; align-items:center; gap:8px;
    background: rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.15);
    border-radius:9px;
    padding:9px 10px;
    font-size:12px;
    font-weight:600;
    color:#fff;
    cursor:pointer;
    text-align:left;
  }
  .flag-btn:hover{ background: rgba(255,255,255,0.09); }
  .flag-btn.is-active{
    background: rgba(21,156,121,0.18);
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red) inset;
  }
  .flag-emoji{ font-size:16px; line-height:1; flex:none; }
  .flag-btn .chev{ margin-left:auto; opacity:.6; width:12px; height:12px; flex:none; }

  .features{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:14px;
  }
  .feature{
    background: rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.12);
    border-radius:10px;
    padding:14px 12px;
    display:flex; gap:10px; align-items:flex-start;
  }
  .feature-icon{
    width:32px;height:32px;border-radius:8px;
    background: rgba(4,9,87,0.25);
    display:flex; align-items:center; justify-content:center;
    flex:none;
    color:#7cb6d4;
  }
  .feature-icon svg{ width:16px;height:16px; }
  .feature-title{ font-size:12.5px; font-weight:700; margin-bottom:2px; }
  .feature-desc{ font-size:11px; color:rgba(255,255,255,0.55); line-height:1.4; }

  /* ---------- FOOTER ---------- */
  .footer{
    background: #0a2420;
    color: rgba(255,255,255,0.55);
    font-size:12px;
    display:flex; align-items:stretch; justify-content:space-between;
  }
  .footer a{ color:rgba(255,255,255,0.7); margin-left:18px; }
  .footer a:hover{ color:#fff; }
  .footer-secure{
    background: rgba(21,156,121,0.18);
    color: rgba(255,255,255,0.85);
    display:flex; align-items:center; gap:8px;
    padding: 10px 24px;
    font-size:11.5px;
  }
  .footer-secure svg{ width:13px; height:13px; color:var(--red); }
  .footer-links{
    display:flex; align-items:center;
    padding: 10px 40px;
  }

  /* ---------- CHAT BUBBLE ---------- */
  .chat-fab{
    position:fixed; bottom:24px; right:24px;
    width:52px;height:52px;border-radius:50%;
    background: linear-gradient(180deg, #185270, var(--red-dark));
    display:flex; align-items:center; justify-content:center;
    box-shadow: 0 10px 24px rgba(34,82,112,0.4);
    border:none; cursor:pointer; color:#fff;
    z-index:50;
  }
  .chat-fab svg{ width:22px;height:22px; }

  @media (max-width: 980px){
    .main{ grid-template-columns: 1fr; }
    .right{ order:-1; padding:26px 24px 30px; }
    .left{ padding:30px 24px; }
    .flags{ grid-template-columns: repeat(2,1fr); max-width:none; }
    .features{ grid-template-columns: repeat(2,1fr); }
    .hero h2{ font-size:30px; }
    .footer{ flex-direction:column; }
    .footer-secure, .footer-links{ padding:10px 20px; text-align:center; justify-content:center; }
  }