/* style.css — vip9000 clone (exact design match) */
@import url('/static/vip9000.css');
body, html { height: 100%; margin: 0; overflow: hidden; width: 100%; }
* { box-sizing: border-box; }

/* === SIDEBAR === */
.main-menu { background-color: #13171c; bottom: 0; box-shadow: 0 0 30px -5px #00000026;
  left: 0; padding: 15px 0; position: fixed; top: 0; width: 56px; z-index: 100;
  display: flex; flex-direction: column; align-items: center; }
.main-menu a { color: #b5b6b7; display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px 0; font-size: 20px; text-decoration: none; transition: all .3s; }
.main-menu a:hover { background-color: #fffc5e; box-shadow: inset 0 0 10px #00000080; color: #13171c; }
.main-menu a.active { background-color: #111418; border-bottom: 3px solid #fffc5e;
  box-shadow: inset 0 0 5px #0000004d; color: #b5b6b7; }
.main-menu a.logout { margin-top: auto; }

/* === HEADER PANEL === */
.header { background-color: #13171c; bottom: 0; display: block; left: 56px; max-width: 280px;
  min-height: inherit; overflow: auto; padding: 50px 25px 40px; position: fixed;
  text-align: center; top: 0; width: 280px; z-index: 90; border-right: 1px solid #000; }
.header .logo { font-size: 28px; margin-bottom: 8px; color: #fffc5e; }
.header .brand-name { font-size: 18px; font-weight: 700; color: #f5f5f5; margin-bottom: 4px; }
.header .brand-sub { font-size: 12px; color: #777; margin-bottom: 25px; }
.header .stat-row { display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: .8em; border-bottom: 1px solid #1a2026; }
.header .stat-row .label { color: #888; font-weight: 300; }
.header .stat-row .value { color: #fffc5e; font-weight: 600; }
.header .stat-row .value.muted { color: #d5d5d5; }
.header .status-pill { display: inline-block; margin-top: 20px; padding: 4px 14px;
  border-radius: 20px; font-size: .75em; border: 1px solid #333; }
.header .status-pill.ok { color: #4caf50; border-color: #4caf5044; }
.header .status-pill.err { color: #ff4444; border-color: #ff444444; }

/* === CONTENT === */
.content-area { bottom: 0; height: 100%; left: 336px; overflow: hidden; position: fixed; right: 0; top: 0; }
.animated-section { background-color: #13171c; background-size: cover; border-radius: 0;
  height: 100%; overflow: auto !important; padding: 40px 50px; transform: translateZ(0); }

/* === CARDS === */
.card { background-color: #13171c; border: 1px solid #000; border-radius: 8px;
  box-shadow: 0 2px 6px #0003; display: flex; flex-direction: column; margin-bottom: 16px; }
.card-body { background-color: #1a2026; padding: 20px; flex: 1; border-radius: 0 0 8px 8px; }
.card-header { background-color: #111418; border-bottom: 1px solid #000; border-radius: 8px 8px 0 0;
  padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; }
.card-header h3 { margin: 0; font-size: 15px; font-weight: 600; color: #f5f5f5; }

/* === BLOCK TITLE === */
.block-title { display: inline-block; margin-bottom: 15px; margin-top: 20px; padding-bottom: 10px;
  padding-right: 12px; position: relative; }
.block-title h3 { font-size: 21px; font-weight: 600; position: relative; z-index: 1; color: #f5f5f5; margin: 0; }
.block-title h3 span { color: #fffc5e; }
.block-title:after { content: ""; background: #fffc5e; height: 2px; opacity: .45;
  position: absolute; right: 0; bottom: 0; width: 40px; z-index: 0; }

/* === FORM === */
.form-group { margin-bottom: .8rem; position: relative; }
.form-group label { display: block; font-size: .78em; color: #999; font-weight: 500; margin-bottom: 5px; }
.form-control { background: #1a2026; border: 2px solid #101010; border-radius: 5px; color: #f5f5f5;
  font-size: .9em; height: 40px; padding: 8px 12px; width: 100%; transition: border-color .2s;
  outline: none; font-family: inherit; }
.form-control:focus { border-color: #fffc5e; }
.form-control::placeholder { color: #555; }
select.form-control { appearance: auto; }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px;
  border: 1px solid #000; box-shadow: 0 10px 10px -8px #0000004d; cursor: pointer; font-size: .82em;
  font-weight: 600; font-family: inherit; padding: 10px 22px; text-decoration: none; transition: all .2s; }
.btn:active { transform: scale(.97); }
.btn-confirm { background-color: #d3ce00; color: #000; }
.btn-confirm:hover { background-color: #adaa20; }
.btn-danger { background-color: #600000; color: #fff; }
.btn-danger:hover { background-color: #740000; }
.btn-sm { border-radius: .2rem; font-size: .7rem; padding: .35rem .6rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* === MISC === */
.hidden { display: none !important; }
.queue { background: #2a2a2a; border: 1px solid #fffc5e33; color: #fffc5e; padding: 10px 14px; border-radius: 6px; margin-bottom: 12px; font-size: .8rem; }
.api-error { background: #3a1010; border: 1px solid #ff444433; color: #ff6666; padding: 12px 14px; border-radius: 6px; margin-bottom: 12px; font-size: .82rem; }
.msg { font-size: .82em; }
.msg.ok { color: #4caf50; }
.msg.err { color: #ff4444; }
.empty { color: #555; text-align: center; padding: 30px; font-size: .88em; }
.cd { font-family: Consolas, Menlo, monospace; font-size: .82em; }
.cd.done { color: #555; }
.hint { color: #555; font-size: .76em; margin-top: 12px; }
.table-wrap { overflow-x: auto; }

/* === TABLE === */
.attacks .table { width: 100%; border-collapse: collapse; font-size: .82em; }
.attacks .table th { text-align: left; padding: 10px 12px; color: #777; font-weight: 500;
  border-bottom: 1px solid #2a2a2a; font-size: .72em; text-transform: uppercase; letter-spacing: .05em; }
.attacks .table td { padding: 11px 12px; border-bottom: 1px solid #1e1e1e; white-space: nowrap; }
.attacks .table tr:last-child td { border-bottom: 0; }
.attacks .table tr:hover td { background: #1a202688; }

/* === LOGIN === */
.box-login { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }
.box-login .card { max-width: 450px; width: 100%; margin: auto; }
.box-login .card-body { padding: 40px; text-align: center; }
.box-login .logo-big { font-size: 36px; margin-bottom: 10px; }
.box-login h2 { font-size: 1.4rem; font-weight: 700; color: #f5f5f5; margin-bottom: 6px; }
.box-login .sub { color: #777; font-size: .85em; margin-bottom: 26px; }
.box-login .form-group { text-align: left; }
.box-login .btn { width: 100%; padding: 12px; margin-top: 10px; }
.box-login .err { color: #ff4444; font-size: .8em; margin-top: 10px; }

/* === FORM GRID === */
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.form-grid .form-group { margin-bottom: 0; }
.form-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .header { display: none; }
  .content-area { left: 56px; }
}
@media (max-width: 768px) {
  .main-menu { width: 44px; }
  .content-area { left: 44px; }
  .animated-section { padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
}