:root{
  --bg1:#070a12;
  --bg2:#0b1220;

  --card: rgba(255,255,255,0.05);
  --card2: rgba(255,255,255,0.08);

  --text:#eaf0ff;
  --muted:#a7b4d6;

  --border: rgba(255,255,255,0.10);
  --border2: rgba(255,255,255,0.18);

  --accent:#5b7cfa;
  --accent2:#7c5cff;
  --green:#2ee59d;
  --red:#ff5b73;

  --shadow: 0 10px 30px rgba(0,0,0,0.45);
  --shadow2: 0 0 0 1px rgba(255,255,255,0.05);
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #131b36 0%, var(--bg1) 40%, var(--bg2) 100%);
  min-height:100vh;
  padding: 30px;
}

.wrap{
  max-width: 1200px;
  margin: 0 auto;
}

header{
  margin-bottom: 18px;
}

header h1{
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: linear-gradient(90deg, #ffffff, #a7b4ff, #9d7cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

header p{
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  margin-top: 18px;
  box-shadow: var(--shadow), var(--shadow2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.drop{
  border: 2px dashed var(--border2);
  border-radius: 18px;
  padding: 40px 25px;
  text-align: center;
  transition: 0.25s ease;
  cursor: pointer;
  background: rgba(255,255,255,0.03);
}

.drop:hover{
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

.drop.drag{
  border-color: var(--accent);
  background: rgba(91,124,250,0.08);
  box-shadow: 0 0 25px rgba(91,124,250,0.25);
}

.big{
  font-size: 18px;
  font-weight: 700;
}

.small{
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.link{
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
  cursor: pointer;
  transition: 0.2s;
}

.link:hover{
  color: #fff;
  border-bottom: 1px dashed var(--accent);
}

.link input{
  display:none;
}

.actions{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

button{
  border: none;
  border-radius: 14px;
  padding: 11px 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.25s ease;
  color: white;
}

#previewBtn{
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
}

#previewBtn:hover{
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

#downloadBtn{
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 8px 20px rgba(124,92,255,0.25);
}

#downloadBtn:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(124,92,255,0.35);
}

button:disabled{
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.status{
  margin-left:auto;
  color: var(--muted);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

.meta{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  margin-bottom: 14px;
}

.tableWrap{
  max-height: 450px;
  overflow:auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

table{
  width:100%;
  border-collapse: collapse;
  font-size: 12px;
}

th{
  position: sticky;
  top: 0;
  z-index: 2;
  text-align: left;
  padding: 12px 12px;
  background: rgba(20, 30, 60, 0.95);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  font-weight: 700;
}

td{
  padding: 10px 12px;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
}

tr:hover td{
  background: rgba(91,124,250,0.06);
}

::-webkit-scrollbar{
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track{
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.18);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover{
  background: rgba(255,255,255,0.28);
}

.reqColsBox{
  max-height: 280px;
  overflow:auto;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.reqColItem{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  transition: 0.2s;
}

.reqColItem:hover{
  background: rgba(91,124,250,0.12);
  border-color: rgba(91,124,250,0.35);
}
.reqHeader{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin-bottom:10px;
}

.reqHeader h2{
  margin:0;
  font-size:18px;
}

.toggleBtn{
  background: rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.15);
  padding:6px 12px;
  border-radius:10px;
  font-size:12px;
  cursor:pointer;
  color:white;
  transition:0.2s;
}

.toggleBtn:hover{
  background: rgba(91,124,250,0.15);
  border-color: rgba(91,124,250,0.35);
}

.reqDesc{
  font-size:13px;
  color:#a7b4d6;
  margin-bottom:12px;
}


/* Mobile responsive */
@media(max-width: 700px){
  body{ padding: 18px; }
  header h1{ font-size: 26px; }
  .actions{ flex-direction: column; align-items: stretch; }
  .status{ margin-left: 0; }
}