/* FSD Server Portal – Editor-like Look */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; }

.portal-container { max-width: 1100px; margin: 24px auto; padding: 18px; }

.glass-card { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 15px; padding: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.10); }

.brand-title { color: #2c3e50; font-weight: 700; margin: 0 0 14px; letter-spacing: .2px; }

/* Top action bar */
.actionbar { display: flex; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,0.95); box-shadow: 0 6px 24px rgba(0,0,0,.12); align-items: center; margin-bottom: 14px; position: sticky; top: 12px; z-index: 5; }
.ab-spacer { flex: 1; }
.ab-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border: none; border-radius: 10px; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); color: #6c757d; cursor: pointer; font-weight: 600; transition: all .25s ease; text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.ab-btn:hover { transform: translateY(-2px); background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; box-shadow: 0 8px 26px rgba(102,126,234,.35); }
.ab-btn .icon { font-size: 18px; }

/* Icon-only variants */
.ab-btn.icon-only { width: 44px; height: 44px; padding: 0; border-radius: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Cards/sections */
.section { margin-top: 16px; }
.section h2 { margin: 0 0 10px; color:#ffffff; font-size: 1.1rem; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.card { background: rgba(255,255,255,0.95); border-radius: 12px; padding: 14px; box-shadow: 0 4px 18px rgba(0,0,0,.08); }

/* Subtle badge labels */
.info-badge { display:inline-block; background:#eef2ff; color:#374151; padding:6px 8px; border-radius:8px; margin-bottom:8px; font-size:12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.v-gap-small { height: 12px; }

/* Key/Value list */
.kv-list { list-style:none; padding:0; margin:6px 0 0; display:grid; grid-template-columns: 1fr 1fr 1fr; gap:10px; }
.kv-list li { background:#fff; border:1px solid #edf2f7; border-radius:10px; padding:10px 12px; box-shadow: 0 2px 8px rgba(0,0,0,.06); display:flex; align-items:center; justify-content:space-between; }
.kv-list span { color:#6b7280; font-size:12px; }
.kv-list strong { color:#111827; font-weight:800; letter-spacing:.2px; }

/* Upload cards */
.upload-card { margin-top:10px; border-radius:14px; padding:14px; background:rgba(255,255,255,.95); box-shadow:0 6px 20px rgba(0,0,0,.08); }
.upload-card h3 { margin:0 0 10px; font-size:1.05rem; color:#2c3e50; }
.upload-controls { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.note { color:#6b7280; font-size:12px; margin-top:8px; }

/* File list chips */
.filelist { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.chip { display:inline-flex; align-items:center; gap:8px; background:#f3f4f6; border:1px solid #e5e7eb; border-radius:999px; padding:6px 10px; box-shadow:0 2px 6px rgba(0,0,0,.05); }
.chip .name { font-weight:600; color:#1f2937; }
.chip .actions { display:flex; gap:6px; }
.chip button { background:#fff; border:1px solid #e5e7eb; border-radius:8px; padding:4px 6px; cursor:pointer; }
.chip button:hover { background:#fee2e2; border-color:#fecaca; }

/* Inputs/Buttons fine-tuning */
input[type="file"] { background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:6px; }
.btn-secondary { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color:#fff; border:none; border-radius:10px; padding:8px 12px; cursor:pointer; }
.btn-success { background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%); color:#fff; border:none; border-radius:10px; padding:8px 12px; cursor:pointer; }

/* Login */
.login-card { max-width: 420px; margin: 60px auto; }
.login-title { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.login-title .logo { font-size:28px; }
.login-sub { color:#6b7280; font-size:13px; margin-bottom:14px; }
.input-group { position: relative; }
.input-group .icon { position:absolute; left:16px; top:50%; transform:translateY(-50%); color:#9ca3af; font-size:16px; width:20px; height:20px; line-height:20px; display:inline-flex; align-items:center; justify-content:center; pointer-events:none; }
.input-group input { padding-left:52px; height:42px; }

/* New: icon layout wrapper so label is not part of absolute center area */
.input-wrap { position: relative; }
.field-row { display:flex; align-items:center; gap:10px; }
.field-row .lead-icon { font-size:18px; color:#6b7280; width:28px; text-align:center; }
.field-row input { flex:1; height:44px; padding:10px 12px; border:2px solid #e1e5e9; border-radius:8px; }
.login-actions { display:flex; justify-content:flex-end; margin-top:8px; }
.divider { height:1px; background:linear-gradient(90deg, transparent, rgba(0,0,0,.08), transparent); margin: 12px 0; }
.form-row { display: grid; gap: 10px; margin-bottom: 10px; }
.form-row label { font-weight: 600; color: #2c3e50; margin-bottom: 4px; }
.form-row input { padding: 10px 12px; border: 2px solid #e1e5e9; border-radius: 8px; font-size: 14px; transition: border-color .2s ease; }
.form-row input:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,.15); }
.btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color:#fff; border:none; border-radius:10px; padding:10px 16px; cursor:pointer; font-weight:700; }
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 8px 20px rgba(102,126,234,.35); }

.muted { color:#6b7280; font-size: 12px; }


