:root { font-family: Poppins, Arial, sans-serif; color: #151515; background: #fff; font-synthesis: none; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }

/* ===== LOGIN PAGE - MUCH SMALLER ===== */
.login-page { min-height: 100svh; background: #fff; padding: clamp(16px, 3vw, 28px) clamp(14px, 3vw, 20px) 30px; }
.login-card { width: 100%; max-width: 420px; margin: 0 auto; }
.brand { color: #3458ef; font-size: clamp(28px, 5vw, 36px); font-weight: 600; letter-spacing: -1.5px; }
.brand-link { padding: 0; border: 0; background: transparent; font-family: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.brand-link:focus-visible { outline: 3px solid #8094ff; outline-offset: 5px; border-radius: 4px; }
.login-card h1 { margin: clamp(20px, 4vw, 30px) 0 clamp(18px, 3vw, 25px); font-size: clamp(24px, 4.5vw, 30px); line-height: 1.2; font-weight: 500; }

/* ===== FORM ELEMENTS - MUCH SMALLER ===== */
label { display: block; margin-bottom: 4px; font-size: clamp(14px, 1.8vw, 16px); font-weight: 500; }
input { width: 100%; height: clamp(38px, 6vw, 44px); padding: 0 clamp(12px, 2vw, 16px); border: 2px solid #d2d2d2; border-radius: 6px; outline: none; font-size: clamp(14px, 1.8vw, 16px); color: #222; background: transparent; }
input::placeholder { color: #999; font-size: clamp(12px, 1.5vw, 14px); }
input:focus { border-color: #3555f5; }

.password-label { margin-top: 14px; }
.password-input-wrap { position: relative; }
.password-input-wrap input { padding-right: 44px; }
.password-toggle { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 32px; height: 32px; padding: 4px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #616778; background: transparent; }
.password-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.password-toggle:hover, .password-toggle:focus-visible { background: #eef1ff; outline: none; }

.primary { border: 0; border-radius: 6px; color: #fff; background: #3454f5; font-size: clamp(15px, 2vw, 17px); font-weight: 500; transition: background 0.2s; }
.primary:hover { background: #2a44d4; }
.primary:disabled { opacity: 0.6; cursor: not-allowed; }

.login-next { width: 100%; height: clamp(38px, 6vw, 44px); margin-top: clamp(18px, 3vw, 25px); }

.auth-message, .form-message { display: none; margin: 10px 0 0; color: #d94251; font-size: clamp(12px, 1.5vw, 14px); line-height: 1.4; }
.auth-message.visible, .form-message:not(:empty) { display: block; }
.auth-message.success { color: #218653; }

/* ===== DIVIDER & SOCIAL - MUCH SMALLER ===== */
.divider { display: flex; align-items: center; gap: clamp(20px, 3vw, 30px); margin: clamp(20px, 3vw, 28px) 0; color: #777; font-size: clamp(14px, 1.8vw, 16px); }
.divider::before, .divider::after { content: ''; height: 1px; flex: 1; background: #ddd; }

.socials { display: grid; gap: clamp(10px, 1.5vw, 14px); }
.socials button { position: relative; width: 100%; height: clamp(38px, 6vw, 44px); padding: 0 clamp(40px, 6vw, 48px); display: flex; align-items: center; justify-content: center; border: 2px solid #d6d6d6; border-radius: 6px; background: #fff; color: #111; font-size: clamp(13px, 1.6vw, 15px); font-weight: 500; transition: border-color 0.2s; }
.socials button:hover { border-color: #3454f5; background: #f8f9ff; }
.socials button span { white-space: nowrap; }
.social-icon { position: absolute; left: clamp(12px, 2vw, 16px); width: clamp(20px, 3vw, 24px); height: clamp(20px, 3vw, 24px); }

.create-account { display: block; margin: clamp(16px, 2.5vw, 22px) auto 0; border: 0; background: transparent; color: #3458ef; font-size: clamp(14px, 1.8vw, 16px); font-weight: 500; transition: color 0.2s; }
.create-account:hover { color: #1a3bbf; }

/* ===== HEADER - MUCH SMALLER ===== */
.site-header { height: clamp(60px, 10vw, 80px); background: #1d1d1d; border-bottom: 1px solid #4a4a4a; color: white; }
.header-inner { max-width: 816px; height: 100%; margin: auto; padding: 0 clamp(14px, 2vw, 20px); display: flex; align-items: center; justify-content: space-between; }
.site-header .brand { font-size: clamp(22px, 4vw, 30px); }
.globe { font: clamp(20px, 3.5vw, 26px) Arial, sans-serif; color: white; }
.header-gap { height: clamp(25px, 4vw, 35px); background: #101010; }

/* ===== PARTNER PAGE - MUCH SMALLER ===== */
.partner-page { min-height: calc(100svh - clamp(85px, 14vw, 115px)); padding: clamp(12px, 2vw, 20px) clamp(14px, 2vw, 20px) clamp(20px, 3vw, 30px); background: #1d1d1d; color: #f7f7f7; }
.partner-page > h1, .partner-page > form, .partner-page > .tabs, .history-table { max-width: 560px; margin-left: auto; margin-right: auto; }
.partner-page > h1 { margin-top: 0; margin-bottom: clamp(16px, 2.5vw, 22px); font-size: clamp(22px, 3.5vw, 28px); font-weight: 600; letter-spacing: -0.3px; }

/* ===== TABS - MUCH SMALLER ===== */
.tabs { height: clamp(38px, 6vw, 44px); display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #555; }
.tab { position: relative; border: 0; background: none; color: #fff; font-size: clamp(14px, 2vw, 17px); font-weight: 500; transition: color 0.2s; padding: 0 clamp(8px, 1vw, 12px); }
.tab:hover { color: #a0a0a0; }
.tab.active::after { content: ''; position: absolute; height: 3px; left: 0; right: 0; bottom: -1px; background: #3454f5; }

/* ===== FORM FIELDS - MUCH SMALLER ===== */
.partner-page form { padding-top: clamp(20px, 3vw, 30px); }
.intro { margin: 0 0 clamp(16px, 2.5vw, 22px); font-size: clamp(15px, 2vw, 17px); line-height: 1.5; }
.field { position: relative; margin-bottom: clamp(14px, 2vw, 20px); }
.field label { font-size: clamp(13px, 1.6vw, 15px); margin-bottom: 3px; }
.field input { height: clamp(38px, 6vw, 44px); border-color: #595959; color: #eee; font-size: clamp(14px, 1.8vw, 16px); background: #292929; }
.field input::placeholder { color: #777; font-size: clamp(12px, 1.5vw, 14px); }
.hint { margin: 4px 0 0; color: #aaa; font-size: clamp(11px, 1.3vw, 13px); line-height: 1.4; }
.error { display: none; margin: 8px 0 0; color: #ff8f9b; font-size: clamp(11px, 1.3vw, 13px); }
.invalid .error { display: block; }
.partner-code-field.invalid input { border-color: #a23e47; }

/* ===== SELECT FIELD - MUCH SMALLER ===== */
.select-button { width: 100%; height: clamp(38px, 6vw, 44px); padding: 0 clamp(12px, 2vw, 16px); display: flex; align-items: center; justify-content: space-between; border: 2px solid #595959; border-radius: 6px; color: #999; background: #1d1d1d; font-size: clamp(14px, 1.8vw, 16px); text-align: left; }
.select-button i { width: clamp(16px, 2vw, 20px); height: clamp(12px, 1.5vw, 15px); background: white; clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 28%, 50% 88%, 0 28%); flex-shrink: 0; }
.select-button[aria-expanded="true"] { border-color: #3454f5; }
.select-button[aria-expanded="true"] i { transform: rotate(180deg); }
#chosen-reason[data-selected="true"] { color: #eee; }

/* ===== REASON MENU - MUCH SMALLER ===== */
.reason-menu { position: absolute; z-index: 3; top: clamp(42px, 7vw, 50px); left: 0; right: 0; padding: 3px 0; border-radius: 6px; background: #4b4b4b; box-shadow: 0 4px 15px #0005; max-height: 160px; overflow-y: auto; }
.reason-menu button { display: block; width: 100%; min-height: clamp(32px, 5vw, 38px); padding: clamp(6px, 1vw, 8px) clamp(12px, 2vw, 16px); border: 0; color: #eee; background: transparent; font-size: clamp(13px, 1.6vw, 15px); text-align: left; transition: background 0.15s; }
.reason-menu button:hover { background: #5a5a5a; }
.select-field.invalid .select-button { border-color: #a23e47; }

/* ===== COMMENT & CONTINUE - MUCH SMALLER ===== */
.comment-field { margin-top: clamp(16px, 2.5vw, 22px); margin-bottom: clamp(14px, 2vw, 18px); }
.continue { min-width: clamp(120px, 15vw, 150px); height: clamp(38px, 6vw, 44px); padding: 0 clamp(18px, 3vw, 24px); font-size: clamp(14px, 1.8vw, 16px); }

/* ===== CHAT BUTTON - MUCH SMALLER ===== */
.chat { position: fixed; z-index: 5; right: clamp(14px, 2vw, 20px); bottom: clamp(14px, 2vw, 20px); width: clamp(40px, 6vw, 48px); height: clamp(40px, 6vw, 48px); border: 0; border-radius: 50%; background: #1015d7; transition: transform 0.2s; display: flex; align-items: center; justify-content: center; }
.chat:hover { transform: scale(1.05); }
.chat span { display: block; width: clamp(20px, 3vw, 24px); height: clamp(20px, 3vw, 24px); margin: auto; border-radius: 4px 4px 10px 10px; background: #c8c8c8; }
.chat span::after { content: ''; display: block; width: clamp(10px, 1.5vw, 13px); height: clamp(4px, 0.6vw, 5px); margin: clamp(10px, 1.5vw, 13px) auto 0; border-bottom: 2px solid #1116b7; border-radius: 50%; }

/* ===== HISTORY TABLE - MUCH SMALLER ===== */
.history-page { min-height: calc(100vh - clamp(85px, 14vw, 115px)); }
.history-table { height: clamp(280px, 40vw, 340px); margin-top: clamp(20px, 3vw, 30px); border: 1px solid #5a5a5a; border-radius: 6px; overflow: hidden; }
.table-head { height: clamp(36px, 5.5vw, 42px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-bottom: 1px solid #555; font-size: clamp(13px, 1.6vw, 15px); font-weight: 500; text-align: center; background: #252525; }
.empty { height: calc(100% - clamp(36px, 5.5vw, 42px)); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: clamp(15px, 2vw, 17px); font-weight: 500; color: #888; }
.history-rows { max-height: calc(100% - clamp(36px, 5.5vw, 42px)); overflow-y: auto; }
.history-row { min-height: clamp(34px, 5vw, 40px); padding: clamp(6px, 1vw, 8px) 6%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-bottom: 1px solid #3c3c3c; font-size: clamp(12px, 1.4vw, 14px); }
.history-row:last-child { border-bottom: none; }
.history-row > span:last-child { justify-self: center; text-transform: capitalize; }

/* ===== STATUS BADGE - MUCH SMALLER ===== */
.status, .strength { padding: 3px 10px; border-radius: 12px; font-size: clamp(11px, 1.3vw, 13px); font-weight: 500; display: inline-block; }
.status.pending { color: #ffc56c; background: #4a3a20; }
.status.approved { color: #68dba1; background: #1d4537; }
.status.completed { color: #68dba1; background: #1d4537; }
.status.none { color: #a2a7b4; background: #30333d; }
.strength.strong { color: #68dba1; background: #1d4537; }
.strength.weak { color: #ff8f9b; background: #4b282f; }

.warning { display: inline-grid; place-items: center; width: clamp(18px, 2.5vw, 22px); height: clamp(18px, 2.5vw, 22px); border-radius: 50%; color: #333; background: #c08e16; font-size: clamp(12px, 1.5vw, 14px); font-weight: 600; }

/* ===== SUCCESS PAGE - MUCH SMALLER ===== */
.success-page { min-height: calc(100vh - clamp(85px, 14vw, 115px)); padding-top: clamp(30px, 5vw, 50px); text-align: center; }
.success-page .success-icon { display: grid; place-items: center; width: clamp(50px, 7vw, 60px); height: clamp(50px, 7vw, 60px); margin: 0 auto clamp(14px, 2vw, 20px); border-radius: 50%; color: white; background: #3454f5; font-size: clamp(28px, 4vw, 34px); }
.success-page > h1 { margin-bottom: clamp(10px, 1.5vw, 14px); font-size: clamp(22px, 3.5vw, 28px); }
.success-page p { margin-bottom: clamp(16px, 2.5vw, 22px); color: #bbb; font-size: clamp(15px, 2vw, 17px); line-height: 1.6; }
.success-page .primary { min-height: clamp(38px, 6vw, 44px); padding: 0 clamp(18px, 3vw, 24px); font-size: clamp(14px, 1.8vw, 16px); }

/* ===== LOADING ===== */
.page-loading { min-height: 100svh; display: grid; place-items: center; color: #fff; background: #1d1d1d; font-size: clamp(14px, 1.8vw, 16px); }

/* ===== RESPONSIVE - MOBILE FIRST ===== */
@media (max-width: 480px) {
  .login-card { max-width: 100%; }
  .login-page { padding: 16px 14px 24px; }
  .brand { font-size: 26px; }
  .login-card h1 { font-size: 22px; margin: 16px 0 14px; }
  label { font-size: 14px; }
  input { height: 38px; font-size: 14px; padding: 0 12px; }
  .primary { font-size: 14px; }
  .login-next { height: 38px; margin-top: 16px; }
  .divider { margin: 18px 0; font-size: 13px; gap: 16px; }
  .socials button { height: 38px; font-size: 13px; padding: 0 36px; }
  .social-icon { width: 18px; height: 18px; left: 12px; }
  .create-account { font-size: 13px; margin-top: 16px; }
  
  .site-header { height: 56px; }
  .site-header .brand { font-size: 20px; }
  .globe { font-size: 18px; }
  .header-gap { height: 24px; }
  
  .partner-page { padding: 10px 14px 20px; min-height: calc(100svh - 80px); }
  .partner-page > h1 { font-size: 20px; margin-bottom: 14px; }
  .tabs { height: 36px; }
  .tab { font-size: 13px; }
  .partner-page form { padding-top: 16px; }
  .intro { font-size: 14px; margin-bottom: 14px; }
  .field { margin-bottom: 12px; }
  .field label { font-size: 13px; }
  .field input { height: 38px; font-size: 14px; }
  .select-button { height: 38px; font-size: 14px; padding: 0 12px; }
  .reason-menu { top: 42px; }
  .reason-menu button { min-height: 32px; font-size: 13px; padding: 5px 12px; }
  .continue { height: 38px; min-width: 100px; font-size: 14px; padding: 0 16px; }
  
  .chat { width: 40px; height: 40px; right: 12px; bottom: 12px; }
  .chat span { width: 18px; height: 18px; }
  .chat span::after { margin-top: 9px; width: 10px; height: 4px; }
  
  .history-table { height: 260px; margin-top: 16px; }
  .table-head { height: 34px; font-size: 12px; }
  .history-row { min-height: 32px; font-size: 12px; padding: 5px 4%; }
  .empty { font-size: 14px; }
  .status { font-size: 10px; padding: 2px 8px; }
  
  .success-page { padding-top: 24px; }
  .success-page .success-icon { width: 44px; height: 44px; font-size: 22px; margin-bottom: 12px; }
  .success-page > h1 { font-size: 20px; }
  .success-page p { font-size: 14px; margin-bottom: 16px; }
  .success-page .primary { height: 38px; font-size: 14px; padding: 0 16px; }
}

/* ===== RESPONSIVE - EXTRA SMALL ===== */
@media (max-width: 360px) {
  .login-page { padding: 12px 10px 20px; }
  .brand { font-size: 22px; }
  .login-card h1 { font-size: 19px; margin: 12px 0 10px; }
  label { font-size: 12px; }
  input { height: 34px; font-size: 12px; padding: 0 10px; }
  .primary { font-size: 12px; }
  .login-next { height: 34px; margin-top: 12px; }
  .socials button { height: 34px; font-size: 11px; padding: 0 30px; }
  .social-icon { width: 16px; height: 16px; left: 10px; }
  .create-account { font-size: 12px; margin-top: 12px; }
  
  .site-header { height: 48px; }
  .site-header .brand { font-size: 17px; }
  .globe { font-size: 15px; }
  .header-gap { height: 20px; }
  
  .partner-page { padding: 8px 10px 16px; min-height: calc(100svh - 68px); }
  .partner-page > h1 { font-size: 17px; margin-bottom: 10px; }
  .tabs { height: 32px; }
  .tab { font-size: 11px; }
  .partner-page form { padding-top: 12px; }
  .intro { font-size: 12px; margin-bottom: 10px; }
  .field { margin-bottom: 10px; }
  .field label { font-size: 11px; }
  .field input { height: 34px; font-size: 12px; }
  .select-button { height: 34px; font-size: 12px; padding: 0 10px; }
  .select-button i { width: 14px; height: 10px; }
  .reason-menu { top: 38px; }
  .reason-menu button { min-height: 28px; font-size: 11px; padding: 4px 10px; }
  .continue { height: 34px; min-width: 80px; font-size: 12px; padding: 0 12px; }
  
  .chat { width: 34px; height: 34px; right: 10px; bottom: 10px; }
  .chat span { width: 16px; height: 16px; }
  .chat span::after { margin-top: 8px; width: 8px; height: 3px; }
  
  .history-table { height: 200px; margin-top: 12px; }
  .table-head { height: 30px; font-size: 10px; }
  .history-row { min-height: 28px; font-size: 10px; padding: 4px 3%; }
  .empty { font-size: 12px; }
  .status { font-size: 9px; padding: 2px 6px; }
  .warning { width: 16px; height: 16px; font-size: 10px; }
  
  .success-page { padding-top: 18px; }
  .success-page .success-icon { width: 38px; height: 38px; font-size: 18px; margin-bottom: 10px; }
  .success-page > h1 { font-size: 17px; }
  .success-page p { font-size: 12px; margin-bottom: 12px; }
  .success-page .primary { height: 34px; font-size: 12px; padding: 0 12px; }
}

/* ===== BALANCED RESPONSIVE SIZING =====
   Keep content fluid, but do not shrink text and touch targets into miniature UI. */
.login-page {
  padding: clamp(16px, 2.5vw, 28px) 16px 24px;
}

.login-card {
  width: min(100%, 360px);
}

.header-inner {
  max-width: 760px;
  padding-inline: 16px;
}

.partner-page {
  padding: clamp(12px, 2vw, 20px) 16px 24px;
}

.partner-page > h1,
.partner-page > form,
.partner-page > .tabs,
.history-table {
  width: min(100%, 520px);
}

input,
.login-next,
.socials button,
.select-button,
.continue,
.success-page .primary {
  min-height: 40px;
  height: 40px;
}

input,
.field input,
.select-button {
  padding-inline: 12px;
  font-size: 14px;
}

label,
.field label {
  font-size: 14px;
}

.primary,
.socials button,
.tab,
.continue,
.success-page .primary {
  font-size: 13px;
}

.password-input-wrap input {
  padding-right: 44px;
}

.password-toggle {
  right: 3px;
  width: 34px;
  height: 34px;
}

.chat {
  width: 40px;
  height: 40px;
}

@media (max-width: 480px) {
  .login-page {
    padding: 12px 12px 20px;
  }

  .login-card {
    width: min(100%, 320px);
  }

  .brand {
    font-size: 22px;
  }

  .login-card h1 {
    margin: 14px 0 12px;
    font-size: 20px;
  }

  .login-card label {
    margin-bottom: 3px;
    font-size: 12px;
  }

  .login-card input,
  .login-next,
  .socials button {
    min-height: 40px;
    height: 40px;
  }

  .login-card input {
    padding-inline: 11px;
    font-size: 14px;
  }

  .login-card input::placeholder {
    font-size: 13px;
  }

  .password-label {
    margin-top: 10px;
  }

  .password-input-wrap input {
    padding-right: 44px;
  }

  .password-toggle {
    width: 36px;
    height: 36px;
  }

  .login-next {
    margin-top: 14px;
    font-size: 13px;
  }

  .divider {
    gap: 14px;
    margin: 16px 0;
    font-size: 12px;
  }

  .socials {
    gap: 9px;
  }

  .socials button {
    padding-inline: 34px;
    font-size: 12px;
  }

  .social-icon {
    left: 11px;
    width: 17px;
    height: 17px;
  }

  .create-account {
    margin-top: 14px;
    font-size: 12px;
  }

  .site-header {
    height: 60px;
  }

  .site-header .brand {
    font-size: 22px;
  }

  .header-gap {
    height: 20px;
  }

  .partner-page {
    min-height: calc(100svh - 80px);
    padding: 16px 16px 28px;
  }

  .partner-page > h1 {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .tabs {
    height: 44px;
  }

  .partner-page form {
    padding-top: 20px;
  }

  .intro {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .wide-only {
    display: none;
  }

  .field {
    margin-bottom: 16px;
  }

  .hint,
  .error {
    font-size: 12px;
  }

  .reason-menu {
    top: 50px;
  }

  .reason-menu button {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .continue {
    min-width: 120px;
    padding-inline: 20px;
  }

  .chat {
    right: 16px;
    bottom: 16px;
  }

  .history-table {
    height: min(360px, 48svh);
    margin-top: 20px;
  }

  .table-head {
    height: 42px;
    font-size: 13px;
  }

  .history-row {
    min-height: 44px;
    font-size: 13px;
  }

  .status {
    padding: 3px 9px;
    font-size: 11px;
  }
}

/* ===== ADMIN STYLES (UNCHANGED) ===== */
.admin-shell { min-height: 100svh; display: grid; grid-template-columns: 260px 1fr; color: #eef0f7; background: #11131a; }
.admin-sidebar { position: sticky; top: 0; height: 100svh; padding: 34px 22px; border-right: 1px solid #2b2e39; background: #181a22; }
.admin-sidebar .brand { margin: 0 10px 55px; font-size: 31px; letter-spacing: -1.5px; }
.admin-nav-title { margin: 0 12px 14px; color: #737989; font-size: 11px; font-weight: 600; letter-spacing: 1.4px; }
.admin-nav, .admin-logout { width: 100%; min-height: 48px; padding: 0 15px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 8px; color: #9da3b3; background: transparent; font-size: 14px; text-align: left; }
.admin-nav span { width: 21px; font-size: 19px; text-align: center; }
.admin-nav.active { color: #fff; background: #3454f5; }
.admin-logout { position: absolute; bottom: 30px; left: 22px; width: calc(100% - 44px); color: #ff9ba4; }
.admin-content { min-width: 0; padding: 34px clamp(24px, 4vw, 60px) 60px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.admin-topbar h1 { margin: 0; font-size: 31px; font-weight: 600; }
.admin-topbar p, .admin-card-head p { margin: 5px 0 0; color: #848a9a; font-size: 14px; }
.admin-profile { display: flex; align-items: center; gap: 12px; }
.admin-profile > span { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; color: #fff; background: #3454f5; font-weight: 600; }
.admin-profile div { display: grid; }
.admin-profile strong { font-size: 13px; }
.admin-profile small { color: #858b9a; font-size: 11px; }
.admin-stats { margin: 36px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.admin-stats article { min-height: 145px; padding: 24px; display: grid; align-content: center; border: 1px solid #2c303b; border-radius: 12px; background: #1b1e27; }
.admin-stats span { color: #979dab; font-size: 13px; }
.admin-stats strong { margin: 6px 0 3px; font-size: 31px; }
.admin-stats small { color: #6f7584; font-size: 11px; }
.admin-card { border: 1px solid #2c303b; border-radius: 12px; overflow: hidden; background: #1b1e27; }
.admin-card-head { min-height: 96px; padding: 21px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #2c303b; }
.admin-card-head h2 { margin: 0; font-size: 18px; }
.admin-search { position: relative; margin: 0; }
.admin-search span { position: absolute; left: 13px; top: 9px; color: #777e8d; }
.admin-search input { width: 230px; height: 40px; padding: 0 12px 0 36px; border: 1px solid #363a46; border-radius: 7px; color: #eee; background: #14161d; font-size: 13px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.admin-table th, .admin-table td { height: 72px; padding: 0 22px; border-bottom: 1px solid #2b2e38; font-size: 12px; text-align: left; }
.admin-table th { height: 49px; color: #7e8493; font-weight: 500; }
.admin-table td:first-child { display: grid; align-content: center; }
.admin-table td strong { font-size: 13px; }
.admin-table td small { margin-top: 3px; color: #7c8291; }
.admin-table tbody tr { cursor: pointer; transition: background 120ms ease; }
.admin-table tbody tr:hover { background: rgba(255,255,255,0.06); }
.admin-table tbody tr.selected { background: rgba(52,84,245,0.14); }
.admin-detail { margin-top: 24px; }
.admin-detail-card { padding: 24px; border: 1px solid #2c303b; border-radius: 12px; background: #1b1e27; }
.admin-detail-card h3 { margin: 0 0 18px; font-size: 18px; }
.admin-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 16px; }
.admin-detail-grid div { padding: 12px 14px; border: 1px solid #2b2e38; border-radius: 10px; }
.admin-detail-grid span { display: block; color: #848a9a; font-size: 12px; margin-bottom: 6px; }
.admin-detail-grid strong { font-size: 14px; line-height: 1.4; }
.admin-card-note { margin: 0 24px 16px; color: #7e8493; font-size: 13px; }
.row-action { padding: 7px 10px; border: 1px solid #454a58; border-radius: 6px; color: #c7cad3; background: transparent; font-size: 11px; }
.row-action:disabled { color: #6e7482; cursor: default; }
@media (max-width: 800px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; width: 100%; height: auto; padding: 20px; display: flex; align-items: center; gap: 8px; overflow-x: auto; }
  .admin-sidebar .brand { margin: 0 auto 0 0; font-size: 25px; }
  .admin-nav-title { display: none; }
  .admin-nav { width: auto; flex: 0 0 auto; }
  .admin-nav:not(.active) { display: none; }
  .admin-logout { position: static; width: auto; min-width: 70px; }
  .admin-content { padding: 25px 16px 40px; }
  .admin-profile div { display: none; }
  .admin-stats { grid-template-columns: 1fr; gap: 12px; }
  .admin-stats article { min-height: 110px; }
  .admin-card-head { align-items: stretch; flex-direction: column; }
  .admin-search input { width: 100%; }
}
