/* Background */
:root { --indigo: #6366f1; --ink: #0b1020; --panel: rgba(255,255,255,0.06); --line: rgba(255,255,255,0.12); --text: #e5e7eb; --muted:#a3a3a3; --danger:#fca5a5; }
*{box-sizing:border-box} html,body{height:100%}
body.auth-bg{
  margin:0; color:var(--text); background:
    radial-gradient(1200px 600px at 100% 0%, rgba(99,102,241,.15), transparent 40%),
    radial-gradient(900px 500px at 0% 100%, rgba(16,185,129,.12), transparent 40%),
    linear-gradient(180deg, #0b1020 0%, #0b1224 60%, #0e1329 100%);
  font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
}

/* Layout */
.auth-wrap{min-height:100%;display:grid;place-items:center;padding:40px}
.auth-card{width:100%;max-width:420px;background:var(--panel);border:1px solid var(--line);border-radius:16px;backdrop-filter: blur(10px);padding:24px 22px 20px;box-shadow:0 20px 60px rgba(0,0,0,.35)}

/* Brand */
.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.auth-logo{height:40px;width:40px;border-radius:12px;background:rgba(99,102,241,.18);border:1px solid rgba(99,102,241,.35);display:grid;place-items:center;font-weight:700;color:#c7d2fe}
.auth-title{font-size:30px; font-weight:1500;letter-spacing:.3px; align-self: auto;}

/* Headings */
.auth-heading{margin:6px 0 2px;font-size:18px;font-weight:600}
.auth-sub{margin:0 0 14px;color:var(--muted)}

/* Alerts & errors */
.auth-alert{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.4);color:#fecaca;padding:8px 10px;border-radius:10px;margin-bottom:10px}
.auth-field-err{color:var(--danger);margin:6px 2px 0;font-size:12px}

/* Form */
.auth-form{display:flex;flex-direction:column;gap:10px}
.auth-label{font-size:13px;color:#cbd5e1;margin-bottom:5px;display:block}
.auth-input{
  width:100%;padding:12px 12px;border-radius:12px;border:1px solid var(--line);
  background:rgba(255,255,255,.06); color:var(--text); outline:none;
}
.auth-input:focus{border-color:#9aa2ff; box-shadow:0 0 0 3px rgba(99,102,241,.25)}
.auth-row{display:flex;justify-content:space-between;align-items:center;margin-top:4px}
.auth-link{color:#c7d2fe;text-decoration:none}
.auth-link:hover{text-decoration:underline}

/* Password eye */
.auth-pass-wrap{position:relative}
.auth-eye{position:absolute; right:8px; top:50%; transform:translateY(-50%); background:transparent; border:0; color:#cbd5e1; cursor:pointer; font-size:16px}

/* Remember */
.auth-remember{display:flex;justify-content:space-between;align-items:center;margin-top:2px}
.auth-checkbox{display:flex;gap:8px;align-items:center}

/* Button */
.auth-btn{
  margin-top:6px; width:100%; padding:12px 14px; border:0; border-radius:12px;
  background:linear-gradient(180deg, #6366f1, #4f46e5);
  color:white; font-weight:600; cursor:pointer; box-shadow:0 10px 30px rgba(79,70,229,.35)
}
.auth-btn:hover{filter:brightness(1.05)}
.auth-btn:active{transform:translateY(1px)}

/* Footer */
.auth-foot{margin-top:12px;text-align:center;color:#9ca3af}


.progress{height:10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--line);overflow:hidden}
.progress .bar{height:100%;background:linear-gradient(90deg,#6366f1,#22c55e)}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;         /* centers brand + nav vertically */
  padding:12px 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;                    /* space between logo and title */
  min-height:56px;             /* gives the bar a steady height */
}

.brand .company-logo {
    height:44px; /* adjust as needed */
    width:auto;
    object-fit:contain;
    display:block;
}

.nav{
  display:flex;
  gap:24px;
  align-items:center;          /* nav aligns with logo baseline */
}

/* Optional: smaller on mobile */
@media (max-width: 768px){
  .brand .company-logo{ height:36px; }
  .nav{ gap:16px; }
}


/* Dropzone */
.dropzone{
  border:2px dashed var(--line);
  background:rgba(255,255,255,.04);
  border-radius:16px;
  padding:28px;
  transition:border-color .2s, background .2s, box-shadow .2s;
  cursor:pointer;
}
.dropzone.dz-hover{
  border-color:#9aa2ff;
  background:rgba(99,102,241,.10);
  box-shadow:0 0 0 3px rgba(99,102,241,.15) inset;
}

/* Layout inside the dropzone */
.dz-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px 20px;
  flex-wrap:wrap;
  text-align:center;
}
.dz-icon{
  width:40px; height:40px; fill:#c7d2fe; opacity:.9;
}
.dz-text{min-width:220px}
.dz-title{font-weight:700; font-size:16px; margin-bottom:2px}
.dz-sub{color:var(--muted); font-size:13px}

/* Outline button to pair with the gradient .btn you already have */
.btn-outline{
  background:transparent;
  color:#e5e7eb;
  border:1px solid var(--line);
  padding:9px 14px;
  border-radius:10px;
  font-weight:600;
}
.btn-outline:hover{border-color:#9aa2ff; background:rgba(99,102,241,.12)}
.btn-outline:active{transform:translateY(1px)}

/* File preview list */
.dz-list{
  list-style:none; margin:16px 0 0; padding:0;
  display:grid; gap:8px;
}
.dz-list li{
  display:flex; align-items:center; gap:10px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius:10px; padding:8px 10px;
  font-size:13px; color:#e5e7eb;
}
.dz-icon {
  width: 10%;
}
.company-logo {
 width: 30%;
}