/* =================================
   CORE DESIGN TOKENS
================================= */
:root{
  --gold:#F7B543;
  --navy:#183650;
  --blue:#1976D2;
  --bg:#f6f8fb;
  --card:#ffffff;
  --border:#e6eef6;
  --text:#0b1720;
  --muted:#6b7280;
  --shadow:0 8px 24px rgba(10,20,30,.06);
  --radius:14px;
  --maxw:1400px;
}

/* =================================
   RESET
================================= */
*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
}

body{
  font-family:'Montserrat',system-ui,Arial,sans-serif;
  background:linear-gradient(180deg,var(--bg),#f8fafc);
  color:var(--text);
}

/* =================================
   TYPOGRAPHY
================================= */
h1,h2,h3,h4{
  margin:0 0 12px;
  color:var(--navy);
}

p{margin:0 0 10px}

small,.muted{
  color:var(--muted);
  font-size:13px;
}

/* =================================
   CONTAINER
================================= */
.container{
  max-width:var(--maxw);
  margin:auto;
  padding:18px;
}

/* =================================
   CARD
================================= */
.card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}

/* =================================
   BUTTONS
================================= */
.btn,
button.btn{
  border:none;
  background:var(--gold);
  color:#111;
  font-weight:700;
  padding:11px 16px;
  border-radius:10px;
  cursor:pointer;
}

.btn:hover{
  opacity:.95;
}

.btn-secondary{
  border:none;
  background:#e8eef5;
  color:#111;
  font-weight:700;
  padding:11px 16px;
  border-radius:10px;
  cursor:pointer;
}

/* =================================
   LINKS
================================= */
a{
  color:var(--blue);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

/* =================================
   FORMS
================================= */
form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.row{
  display:flex;
  gap:14px;
}

.col{
  flex:1;
}

label{
  display:block;
  margin-bottom:6px;
  font-size:13px;
  font-weight:700;
  color:#374151;
}

input,
select,
textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:10px;
  padding:11px 12px;
  font-size:14px;
  background:#fff;
}

textarea{
  resize:vertical;
  min-height:90px;
}

/* =================================
   TABLES
================================= */
table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

th,td{
  padding:10px 8px;
  border-bottom:1px solid #eef2f7;
  text-align:left;
}

th{
  background:#f8fafc;
  font-weight:700;
}

tbody tr:hover{
  background:#f8fbff;
}

/* =================================
   BADGES
================================= */
.badge{
  display:inline-block;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}

.badge.green{
  background:#ecfdf5;
  color:#065f46;
}

/* =================================
   MODAL
================================= */
.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.modal.hidden{
  display:none;
}

.modal-box{
  width:92%;
  max-width:420px;
  background:#fff;
  border-radius:16px;
  padding:22px;
  box-shadow:0 20px 60px rgba(0,0,0,.2);
}

.modal-actions{
  margin-top:18px;
  display:flex;
  gap:10px;
  justify-content:center;
}

/* =================================
   MOBILE
================================= */
@media(max-width:760px){

  .row{
    flex-direction:column;
  }

  .container{
    padding:12px;
  }

  body{
    padding-bottom:78px;
  }

}