/* ==========================================================================
   NEEPA JEWELLS - EXECUTIVE E-COMMERCE ADMIN PANEL STYLESHEET
   Luxury Jewellery Atelier Theme (Shopify Adorn Precious Palette)
   ========================================================================== */

:root {
  --admin-bg: #F8F9FA;
  --admin-card-bg: #FFFFFF;
  --admin-sidebar-bg: #011E24;
  --admin-sidebar-active: #023640;
  --admin-sidebar-text: #B4C4C7;
  --admin-sidebar-text-active: #FFFFFF;
  
  --primary: #012E36;
  --primary-hover: #001B20;
  --gold: #BB9D7B;
  --gold-light: #E0CDB9;
  --gold-dark: #8F7253;
  --gold-tint: rgba(187, 157, 123, 0.15);
  
  --razorpay-blue: #0C2340;
  --razorpay-accent: #3395FF;
  --shiprocket-orange: #7928CA;
  --shiprocket-accent: #F95738;
  
  --text-main: #1A1A1A;
  --text-muted: #666666;
  --border: #E5E7EB;
  --border-light: #F0F0F0;
  
  --success: #10B981;
  --success-bg: #ECFDF5;
  --warning: #F59E0B;
  --warning-bg: #FFFBEB;
  --danger: #EF4444;
  --danger-bg: #FEF2F2;
  --info: #3B82F6;
  --info-bg: #EFF6FF;

  --font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--admin-bg);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

/* -------------------------------------------------------------------------- */
/* Sidebar Navigation                                                         */
/* -------------------------------------------------------------------------- */
.admin-sidebar {
  width: 280px;
  background: var(--admin-sidebar-bg);
  color: var(--admin-sidebar-text);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 100;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-emblem {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #FFFFFF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-section-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.4);
  padding: 12px 12px 6px;
  font-weight: 700;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: var(--admin-sidebar-text);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--admin-sidebar-text-active);
}

.nav-item.active {
  background: var(--admin-sidebar-active);
  color: #FFFFFF;
  font-weight: 600;
  border-color: rgba(187, 157, 123, 0.3);
}

.nav-item .icon-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-badge {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.nav-badge.gold {
  background: var(--gold-tint);
  color: var(--gold);
  border: 1px solid rgba(187, 157, 123, 0.3);
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sql-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #A0B2B5;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.btn-storefront-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-storefront-link:hover {
  background: var(--gold);
  color: #FFFFFF;
}

/* -------------------------------------------------------------------------- */
/* Main Content Area                                                          */
/* -------------------------------------------------------------------------- */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-y: auto;
}

/* Header Topbar */
.admin-topbar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
}

.topbar-left h1 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.topbar-left p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(1, 46, 54, 0.2);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-gold:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 12px rgba(187, 157, 123, 0.35);
}

.btn-outline {
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

/* Views Container */
.admin-content {
  padding: 32px;
  flex: 1;
}

.admin-tab-pane {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}

.admin-tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------------------- */
/* Dashboard Grid & Cards                                                     */
/* -------------------------------------------------------------------------- */
.dashboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.metric-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 22px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.metric-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.metric-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.metric-footer {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Gateway Integrations Overview Grid */
.integrations-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.integration-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.integration-card.razorpay-border {
  border-top: 4px solid var(--razorpay-accent);
}

.integration-card.shiprocket-border {
  border-top: 4px solid var(--shiprocket-accent);
}

.integration-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.integration-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.integration-logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #FFFFFF;
}

.badge-razorpay {
  background: #02042B;
}

.badge-shiprocket {
  background: #7928CA;
}

.integration-details h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.integration-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.active {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.test {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-badge.inactive {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.integration-meta-list {
  background: var(--admin-bg);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
}

.meta-row span:first-child {
  color: var(--text-muted);
}

.meta-row span:last-child {
  font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* Tables & Cards                                                             */
/* -------------------------------------------------------------------------- */
.data-card {
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 28px;
}

.data-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.data-card-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.input-search {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  width: 260px;
  outline: none;
  font-family: inherit;
}

.input-search:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(1, 46, 54, 0.1);
}

.select-filter {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  outline: none;
  background: #FFFFFF;
  font-family: inherit;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-table th {
  background: #F9FAFB;
  padding: 12px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: #FAFAFA;
}

.product-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #F3F4F6;
  transition: transform 0.2s ease;
}

.product-thumb:hover {
  transform: scale(1.6);
  z-index: 10;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.product-title-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-name-link {
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
}

.product-sku-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.tag-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  background: #F3F4F6;
  color: #374151;
}

.tag-pill.gold {
  background: var(--gold-tint);
  color: var(--gold-dark);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #D1D5DB;
  transition: .3s;
  border-radius: 20px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--success);
}

input:checked + .toggle-slider:before {
  transform: translateX(18px);
}

/* -------------------------------------------------------------------------- */
/* SQL Console & Query Runner                                                 */
/* -------------------------------------------------------------------------- */
.sql-console-container {
  background: #111827;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  margin-bottom: 24px;
  border: 1px solid #374151;
}

.sql-console-header {
  background: #1F2937;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #374151;
}

.sql-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #F3F4F6;
  font-weight: 700;
  font-size: 0.9rem;
}

.sql-editor-textarea {
  width: 100%;
  min-height: 140px;
  background: #111827;
  color: #67E8F9;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  padding: 18px 20px;
  border: none;
  outline: none;
  resize: vertical;
  line-height: 1.5;
}

.sql-console-footer {
  background: #1F2937;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #374151;
}

.sql-stats-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #9CA3AF;
}

/* -------------------------------------------------------------------------- */
/* Forms & Settings                                                           */
/* -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.form-control {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  background: #FFFFFF;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(1, 46, 54, 0.1);
}

/* -------------------------------------------------------------------------- */
/* Modals                                                                     */
/* -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  animation: modalScale 0.2s ease-out;
}

@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.modal-close-btn:hover {
  color: #000000;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #111827;
  color: #FFFFFF;
  padding: 14px 18px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  animation: slideIn 0.3s ease;
  max-width: 420px;
  border-left: 4px solid var(--gold);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Category Grid */
.category-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.cat-admin-card {
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cat-admin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.cat-admin-banner {
  height: 120px;
  width: 100%;
  object-fit: cover;
  background: #FAF7F2;
}

.cat-admin-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.subcat-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.subcat-pill {
  background: #F3F4F6;
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ========================================================================== */
/* ADMIN AUTHENTICATION LOCKSCREEN & SECURITY STYLES                          */
/* ========================================================================== */
.admin-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at 50% 20%, #033A44 0%, #011E24 60%, #001216 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.admin-auth-card {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(197, 160, 89, 0.35);
  overflow: hidden;
  animation: authCardIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authCardIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.admin-auth-header {
  background: #012E36;
  padding: 30px 24px;
  text-align: center;
  position: relative;
  border-bottom: 2px solid #C5A059;
}

.admin-auth-emblem {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37, #996515);
  color: #FFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.4);
  margin-bottom: 12px;
}

.admin-auth-header h2 {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin: 0 0 4px;
  letter-spacing: 0.5px;
}

.admin-auth-header p {
  color: #A3B8BA;
  font-size: 0.78rem;
  margin: 0;
  letter-spacing: 0.3px;
}

.admin-auth-body {
  padding: 28px 24px 24px;
}

.auth-error-banner {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-lockout-banner {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  color: #92400E;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.input-secret-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}

.input-secret-wrap input {
  padding-right: 75px !important;
}

.btn-toggle-secret {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 4px;
  text-transform: uppercase;
}

.btn-toggle-secret:hover {
  color: var(--gold-dark);
  background: #F3F4F6;
}

.security-log-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.82rem;
}

.security-log-item:last-child {
  border-bottom: none;
}

