/* ===============================
   MLR PORTAL — LARGE PRO UI (FIT SCREEN)
================================= */

:root{
  --mlr-blue: #2563eb;
  --bg: #f6f8fb;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, .65);
  --border: rgba(15, 23, 42, .10);
  --shadow: 0 22px 70px rgba(15,23,42,.10);
}

* { box-sizing: border-box; }

body{
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);

  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;

  /* ✅ less padding so it fits */
  padding: 24px 16px;

  font-size: 22px;
  line-height: 1.6;

  overflow-x: hidden;
}

.container{
  width: min(98vw, 1800px);
  transform: scale(1.08);
  transform-origin: top center;
  margin-top: 0;
}

@media (max-width: 1400px){
  .container{
    transform: scale(1.0);
  }
}

/* ✅ On smaller screens, disable scaling completely */
@media (max-width: 1400px){
  .container{
    transform: scale(1.0);
  }
}
/* ===============================
   HEADER
================================= */

.header{
  background: #fff;
  border: 1px solid var(--border);
  padding: 60px 80px;
  border-radius: 28px;
  margin-bottom: 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  box-shadow: var(--shadow);
}

.brand h1{
  margin: 0;
  font-size: 56px;
  letter-spacing: -0.5px;
}

.brand p{
  margin: 14px 0 0 0;
  color: var(--muted);
  font-size: 24px;
}

.badge{
  background: var(--mlr-blue);
  color: #fff;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 900;
}

/* ===============================
   GRID
================================= */

.grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 1400px){
  .grid{ grid-template-columns: 1fr; }
}

/* ===============================
   CARDS
================================= */

.card{
  background: #fff;
  border: 1px solid var(--border);
  padding: 60px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.card h2{
  margin: 0 0 20px 0;
  font-size: 40px;
}

.sub{
  margin: 0 0 36px 0;
  color: var(--muted);
  font-size: 24px;
}

/* ===============================
   FORMS
================================= */

label{
  font-weight: 900;
  display: block;
  margin-top: 20px;
  font-size: 22px;
}

input{
  width: 100%;
  padding: 24px 26px;
  margin-top: 12px;
  margin-bottom: 28px;

  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.14);

  font-size: 24px;
}

input:focus{
  outline: none;
  border-color: var(--mlr-blue);
  box-shadow: 0 0 0 6px rgba(37,99,235,.12);
}

/* ===============================
   BUTTONS
================================= */

.row{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn{
  padding: 22px 40px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.12);
  cursor: pointer;

  font-weight: 900;
  font-size: 24px;

  background: #fff;
  color: var(--text);

  transition: transform .12s ease, box-shadow .12s ease;
}

.btn.primary{
  background: var(--mlr-blue);
  color: #fff;
  border-color: transparent;
}

.btn:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(15,23,42,.15);
}

/* ===============================
   STATUS
================================= */

.status{
  padding: 26px 30px;
  border-radius: 18px;
  font-size: 24px;
  background: #f1f5f9;
  border: 1px solid rgba(15,23,42,.08);
}

/* ===============================
   TABLES
================================= */

table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th{
  text-align: left;
  padding: 24px;
  font-size: 24px;
  border-bottom: 1px solid rgba(15,23,42,.14);
}

td{
  padding: 24px;
  font-size: 24px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
