:root{
  --orange1:#ff7008;
  --orange2:#822121;
  --orange3:#b45309;
  --orange-soft:#fff7ed;
  --orange-light:#fbd2bf;
  --card:#ffffff;
  --text:#111;
  --muted:#666;
  --shadow: 0 20px 60px rgba(0,0,0,.25);
  --radius: 28px;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: system-ui, Arial, sans-serif;
  color:var(--text);
  background: linear-gradient(135deg, var(--orange1), var(--orange2));
  min-height:100vh;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 28px;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.brand-badge{
  width:38px;height:38px;
  display:grid;place-items:center;
  border-radius:10px;
  background: rgba(255,255,255,.15);
}
.brand-title{
  font-weight:800;
  font-size: 20px;
}
.brand-sub{
  font-size: 12px;
  opacity:.85;
}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap:wrap;
}
.nav a{
  color:#111;
  text-decoration:none;
  font-weight:500;
}
.nav a:hover{ text-decoration: underline; }
.nav-user{
  color: rgba(0,0,0,.75);
  font-size: 12px;
}
.nav-btn{
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
}

.page{
  padding: 26px 28px 40px;
}

.card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items:center;
}
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
}

.tag{
  display:inline-block;
  padding: 8px 14px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--orange1), var(--orange2));
  color:#111;
  font-weight:700;
  width: fit-content;
}

.h1{
  font-size: 44px;
  line-height: 1.1;
  margin: 14px 0 10px;
}
.p{
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 18px;
}
.cta{
  display:flex;
  gap: 12px;
  align-items:center;
  margin-top: 10px;
}
.btn{
  border:0;
  cursor:pointer;
  border-radius:999px;
  padding: 14px 18px;
  font-weight:700;
}
.btn-primary{
  background: linear-gradient(90deg, var(--orange1), var(--orange2));
}
.btn-dark{
  background:#16162a;
  color:#fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display:grid; place-items:center;
}

.side-img{
  border-radius: 30px;
  overflow:hidden;
  width:100%;
  aspect-ratio: 4 / 3;
  background: #ddd;
}
.side-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Login */
.form-wrap{
  max-width: 520px;
  margin: 0 auto;
  text-align:center;
}
.logo-box{
  width:72px;height:72px;
  margin: 0 auto 10px;
  border-radius: 16px;
  background: #e30000;
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:900;
  font-size: 20px;
}
.input{
  width:100%;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid #eee;
  outline: none;
  margin: 6px 0 12px;
}
.input:focus{ border-color: #ff8a40; }

.error{
  background:#ffe6e6;
  border:1px solid #ffb3b3;
  padding:10px 12px;
  border-radius:12px;
  color:#8a0000;
  margin-bottom:12px;
  text-align:left;
}

/* Simple dashboard layout */
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px){
  .grid{ grid-template-columns:1fr; }
}
.panel{
  border:1px solid #eee;
  border-radius: 18px;
  padding: 16px;
}
.panel h3{ margin:0 0 8px; }
small{ color: var(--muted); }

/* Course color tags (for later MVP) */
.course{
  display:flex;
  justify-content:space-between;
  padding: 10px 12px;
  border-radius: 12px;
  margin: 8px 0;
  border: 1px solid #eee;
}
.green{ background:#eaffea; border-color:#b7ffb7; }
.red{ background:#ffe9e9; border-color:#ffbcbc; }
.blue{ background:#e9f1ff; border-color:#b8d3ff; }
