/* assets/css/style.css - Tema terang modern */
:root{
  --bg:#f4f5fb;
  --bg-card:#ffffff;
  --fg:#111827;
  --muted:#6b7280;
  --accent:#2563eb;
  --accent-soft:#dbeafe;
  --danger:#b91c1c;
  --danger-soft:#fee2e2;
  --border:#e5e7eb;
  --radius:14px;
  --font:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
}

*{box-sizing:border-box;}

body{
  margin:0;
  padding:0;
  font-family:var(--font);
  background:radial-gradient(circle at top,#eff6ff 0,#f4f5fb 55%);
  color:var(--fg);
}

.container{
  max-width:980px;
  margin:0 auto;
  padding:32px 16px 48px;
}

.card{
  background:var(--bg-card);
  border-radius:var(--radius);
  padding:24px 20px 28px;
  border:1px solid var(--border);
  box-shadow:0 14px 40px rgba(15,23,42,0.08);
}

h1,h2,h3{
  margin:0 0 12px;
  letter-spacing:0.01em;
}

h1{font-size:1.7rem;}
h2{font-size:1.25rem;margin-top:10px;}
p{margin:4px 0 10px;font-size:0.96rem;color:var(--muted);}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:var(--accent-soft);
  color:#1d4ed8;
  padding:4px 10px;
  border-radius:999px;
  font-size:0.78rem;
  border:1px solid #bfdbfe;
}

.badge.red{
  background:var(--danger-soft);
  border-color:#fecaca;
  color:var(--danger);
}

.label{
  display:block;
  font-size:0.82rem;
  margin-bottom:4px;
  color:#4b5563;
  font-weight:500;
}

input[type=text],
input[type=date],
input[type=password],
textarea,
select{
  width:100%;
  padding:9px 11px;
  border-radius:10px;
  border:1px solid var(--border);
  background:#f9fafb;
  color:var(--fg);
  font-size:0.9rem;
  transition:border-color .15s,box-shadow .15s,background .15s;
}

input:focus,
textarea:focus,
select:focus{
  outline:none;
  border-color:#60a5fa;
  box-shadow:0 0 0 1px #bfdbfe;
  background:#ffffff;
}

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

input[type=file]{
  font-size:0.85rem;
  color:var(--muted);
}

button,
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:999px;
  border:none;
  padding:9px 18px;
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:white;
  font-weight:600;
  font-size:0.9rem;
  cursor:pointer;
  text-decoration:none;
  box-shadow:0 10px 25px rgba(37,99,235,0.25);
  transition:transform .1s,box-shadow .1s,filter .1s;
}

button:hover,
.button:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(37,99,235,0.32);
  filter:brightness(1.03);
}

button.secondary,
.button.secondary{
  background:#ffffff;
  color:#111827;
  border:1px solid #d1d5db;
  box-shadow:none;
}

button.secondary:hover,
.button.secondary:hover{
  background:#f3f4f6;
}

button:disabled{
  opacity:0.6;
  cursor:not-allowed;
  box-shadow:none;
}

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

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

@media(min-width:720px){
  .grid-2{
    grid-template-columns:1fr 1fr;
  }
}

.table{
  width:100%;
  border-collapse:collapse;
  font-size:0.86rem;
}

.table th,
.table td{
  padding:8px 8px;
  border-bottom:1px solid var(--border);
  text-align:left;
}

.table th{
  font-weight:600;
  color:#6b7280;
  background:#f9fafb;
}

.status-pill{
  display:inline-flex;
  padding:3px 9px;
  border-radius:999px;
  font-size:0.75rem;
  border:1px solid var(--border);
}

.status-pending{background:#fef9c3;color:#854d0e;border-color:#facc15;}
.status-accepted{background:#dcfce7;color:#166534;border-color:#4ade80;}
.status-rejected{background:#fee2e2;color:#b91c1c;border-color:#fca5a5;}

.alert{
  margin:10px 0 14px;
  padding:9px 11px;
  border-radius:10px;
  font-size:0.85rem;
}

.alert.error{
  background:var(--danger-soft);
  color:#7f1d1d;
  border:1px solid #fecaca;
}

.alert.success{
  background:#dcfce7;
  color:#14532d;
  border:1px solid #bbf7d0;
}

.mt-2{margin-top:8px;}
.mt-3{margin-top:12px;}
.mt-4{margin-top:18px;}
.mb-0{margin-bottom:0;}
.text-center{text-align:center;}
.text-right{text-align:right;}
.small{font-size:0.8rem;color:var(--muted);}
hr{
  border:none;
  border-top:1px solid var(--border);
  margin:16px 0;
}
