/* =========================
   Buttons
========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:10px 18px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  line-height:1;
  cursor:pointer;
  transition:all .16s ease;
  white-space:nowrap;
}

.btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.22);
}

.btn.orange{
  background:linear-gradient(180deg, #ff8a1f, #f97316);
  border-color:#f97316;
  color:#fff;
}

.btn.orange:hover{
  box-shadow:0 10px 20px rgba(249,115,22,.22);
}

.btn.dark{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.12);
  color:#fff;
}

.btn.dark:hover{
  background:rgba(255,255,255,.08);
}

.btn.small{
  min-height:36px;
  padding:8px 14px;
  border-radius:10px;
  font-size:13px;
}

/* =========================
   Panels / Cards
========================= */

.panel{
  background:linear-gradient(180deg, rgba(19,43,79,.96), rgba(12,29,56,.98));
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:20px;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.card{
  background:linear-gradient(180deg, rgba(19,43,79,.96), rgba(12,29,56,.98));
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:18px;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}

/* =========================
   Page header
========================= */

.page-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:24px;
}

.page-header h1{
  margin:0 0 4px;
  font-size:28px;
  line-height:1.1;
}

.subtitle{
  color:#aebfdf;
  font-size:15px;
  line-height:1.45;
}

/* =========================
   Forms
========================= */

label{
  display:block;
  margin-bottom:8px;
  font-size:14px;
  font-weight:700;
  color:#fff;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
input[type="url"],
select,
textarea{
  width:100%;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  border-radius:14px;
  padding:13px 14px;
  font-size:14px;
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

input::placeholder,
textarea::placeholder{
  color:#8ea3c7;
}

input:focus,
select:focus,
textarea:focus{
  border-color:rgba(59,130,246,.65);
  box-shadow:0 0 0 3px rgba(59,130,246,.14);
  background:rgba(255,255,255,.06);
}

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

.form-row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
  margin-bottom:16px;
}

.btn-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

/* =========================
   Notices
========================= */

.notice,
.error{
  border-radius:16px;
  padding:14px 16px;
  border:1px solid transparent;
}

.notice{
  background:rgba(16,185,129,.14);
  border-color:rgba(16,185,129,.24);
  color:#dcfce7;
}

.error{
  background:rgba(239,68,68,.12);
  border-color:rgba(239,68,68,.24);
  color:#fee2e2;
}

/* =========================
   Helpers
========================= */

.back-link{
  display:inline-block;
  margin-bottom:12px;
  color:#c7d5f2;
  text-decoration:none;
}

.back-link:hover{
  color:#fff;
}

.empty{
  text-align:center;
}

.empty-circle{
  width:64px;
  height:64px;
  margin:0 auto 12px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.06);
  font-size:28px;
}

.small{
  color:#9fb5d9;
  font-size:13px;
  line-height:1.45;
}

/* =========================
   Responsive
========================= */

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

  .page-header{
    flex-direction:column;
  }
}

.iconbox{
  width:44px;
  height:44px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  font-size:20px;
}