/* EDEN PHOTO GARDEN — Studio Admin Dashboard Styles */
:root {
  --bg-app: #06070a;
  --bg-sidebar: rgba(10, 12, 17, 0.94);
  --bg-surface: rgba(15, 18, 25, 0.82);
  --bg-surface-2: rgba(22, 26, 36, 0.85);
  --bg-surface-3: rgba(28, 33, 46, 0.9);
  
  --line: rgba(255, 255, 255, 0.08);
  --line-light: rgba(255, 255, 255, 0.14);
  
  --accent: #ef7c00;
  --accent-glow: rgba(239, 124, 0, 0.35);
  --accent-dim: rgba(239, 124, 0, 0.14);
  --accent-border: rgba(239, 124, 0, 0.35);

  --gold: #ef7c00;
  --gold-light: #ffa43a;
  --gold-dim: rgba(239, 124, 0, 0.16);
  --gold-border: rgba(239, 124, 0, 0.32);
  
  --green: #10b981;
  --green-dim: rgba(16, 185, 129, 0.15);
  
  --text-main: #f8f9fa;
  --text-muted: #9ba1b0;
  --text-dim: #656b7c;
  
  --font-sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Cinzel", "Playfair Display", Georgia, serif;
  --font-serif: "Playfair Display", Georgia, serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --sidebar-w: 260px;
  --topbar-h: 68px;
}

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

[hidden] {
  display: none !important;
}

body.admin-app {
  background-color: #000;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .login-title, .card-head h3, .welcome-copy h2, .view-header h2 {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em;
}

/* EDIT.OR.FX Signature Canvas Light Waves */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  filter: blur(24px) saturate(1.25);
  transform: scale(1.08);
  pointer-events: none;
}

/* ---------------------------------------------------- */
/* 1. LOGIN OVERLAY                                     */
/* ---------------------------------------------------- */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: radial-gradient(60% 45% at 50% 0%, rgba(239, 124, 0, 0.28), transparent 70%), #06070a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: rgba(16, 16, 20, 0.72);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 40px 120px rgba(0, 0, 0, 0.8);
  border-radius: 24px;
  padding: 2.8rem 2.2rem;
  text-align: center;
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.login-pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--accent-dim);
  color: #fff;
  border: 1px solid var(--accent-border);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.login-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.3rem;
}

.login-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
}

.field-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.field-group input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.25rem;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.field-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.pw-box {
  position: relative;
}

.pw-box input {
  padding-right: 2.8rem;
}

.btn-toggle-pw {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
}

.btn-login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.9rem;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all 0.2s ease;
}

.btn-login-submit:hover {
  background: #f0f0f0;
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-1px);
}

.login-error {
  font-size: 0.82rem;
  color: #ff6b6b;
  text-align: center;
}

/* ---------------------------------------------------- */
/* 2. MAIN DASHBOARD LAYOUT                             */
/* ---------------------------------------------------- */
.dashboard-shell {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: var(--bg-app);
}

/* Sidebar */
.dash-sidebar {
  width: var(--sidebar-w);
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 50;
  transition: transform 0.25s ease;
}

.sidebar-header {
  height: var(--topbar-h);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.studio-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.sidebar-nav {
  padding: 1rem 0.75rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  padding: 0.8rem 0.6rem 0.3rem;
}

.nav-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.7rem 0.95rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  position: relative;
}

.nav-tab-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-tab-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent-border);
  color: #fff;
  font-weight: 600;
}

.nav-tab-wedvault.active {
  border-color: var(--accent-border);
  color: #fff;
  background: var(--accent-dim);
}

.chip-hot {
  font-size: 0.6rem;
  font-weight: 800;
  background: var(--accent);
  color: #fff;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: auto;
}

.chip-count {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-left: auto;
}

.sidebar-footer {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff2e63);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.user-meta strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
  line-height: 1.2;
}

.user-meta span {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.btn-logout {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}

.btn-logout:hover {
  color: #ff6b6b;
}

/* Main Content Area */
.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-app);
}

.dash-topbar {
  height: var(--topbar-h);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 19, 0.85);
  backdrop-filter: blur(12px);
  padding: 0 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.crumb-root {
  color: var(--text-dim);
}

.crumb-sep {
  color: var(--line-light);
}

.crumb-current {
  color: #fff;
  font-weight: 600;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-top-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-top-gold:hover {
  box-shadow: 0 4px 15px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-top-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-top-action:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--line-light);
}

/* Scroll Container */
.dash-content-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 2.2rem 4rem;
}

.dash-view {
  display: none;
  max-width: 1300px;
  margin: 0 auto;
}

.dash-view.active {
  display: block;
}

/* ---------------------------------------------------- */
/* COMMON CARDS & HEADERS                               */
/* ---------------------------------------------------- */
.view-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.view-header h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.view-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.dash-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  margin-bottom: 1.6rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.card-head h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

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

.btn-text-action {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* ---------------------------------------------------- */
/* OVERVIEW VIEW                                        */
/* ---------------------------------------------------- */
.hero-welcome-card {
  background: radial-gradient(ellipse at 80% 0%, rgba(239, 124, 0, 0.18), var(--bg-surface) 70%);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.welcome-copy h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.welcome-copy p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
}

.welcome-actions {
  display: flex;
  gap: 0.8rem;
}

.btn-gold-lg {
  padding: 0.75rem 1.5rem;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-gold-lg:hover {
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-outline-lg {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-lg:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--line-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stat-icon {
  font-size: 1.2rem;
}

.stat-num {
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.2;
}

.stat-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ---------------------------------------------------- */
/* WEDVAULT VIEW & BUILDER                              */
/* ---------------------------------------------------- */
.success-banner {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.success-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.success-icon {
  font-size: 1.6rem;
}

.success-link {
  font-family: monospace;
  font-size: 0.88rem;
  color: #fff;
  margin-top: 0.2rem;
}

.success-btns {
  display: flex;
  gap: 0.6rem;
}

.btn-copy-action {
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-copy-action.whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #000;
  font-weight: 700;
}

.btn-preview-action {
  padding: 0.55rem 1.2rem;
  background: #ffffff;
  color: #000;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-preview-action:hover {
  box-shadow: 0 4px 15px var(--accent-glow);
}

/* Vault Builder Box */
.vault-builder-box {
  background: var(--bg-surface);
  border: 1px solid var(--accent-border);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.builder-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}

.builder-head strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  display: block;
}

.builder-head p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-builder-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.builder-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.input-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.input-field input,
.input-field textarea,
.input-field select {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: all 0.15s ease;
}

.input-field input:focus,
.input-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.input-field small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.builder-section-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section-box-head strong {
  font-size: 0.95rem;
  color: var(--gold-light);
}

.section-box-head p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.section-box-actions {
  display: flex;
  gap: 0.5rem;
}

.gold-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.btn-sub-action {
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-light);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-sub-action:hover {
  background: rgba(255, 255, 255, 0.12);
}

.repeater-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.repeater-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.repeater-row input,
.repeater-row select {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  color: #fff;
  font-size: 0.82rem;
  outline: none;
}

.btn-row-del {
  width: 32px;
  height: 32px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.25);
  color: #ff6b6b;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.builder-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.btn-gold-md {
  padding: 0.65rem 1.4rem;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.btn-gold-md:hover {
  box-shadow: 0 4px 15px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-outline-md {
  padding: 0.65rem 1.3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.btn-outline-md:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Vaults Grid */
.vaults-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vault-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.vault-item-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.vault-item-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.vault-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: #000;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.vault-item-meta strong {
  font-size: 1.15rem;
  color: #fff;
  display: block;
}

.vault-item-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.4rem;
}

.vault-item-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-url {
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--gold-light);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.badge-pass {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.badge-open {
  font-size: 0.72rem;
  background: var(--green-dim);
  color: var(--green);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.vault-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ---------------------------------------------------- */
/* DRIVE BROWSER                                        */
/* ---------------------------------------------------- */
.drive-browser-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  gap: 1rem;
}

.drive-crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.crumb-btn {
  color: var(--gold);
  cursor: pointer;
}

.drive-search {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.85rem;
  color: #fff;
  font-size: 0.85rem;
}

.drive-files-table-wrap {
  overflow-x: auto;
}

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

.drive-table th {
  padding: 0.75rem 1rem;
  color: var(--text-dim);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.drive-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #fff;
}

.drive-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.table-loading {
  text-align: center;
  color: var(--text-dim);
  padding: 3rem !important;
}

/* ---------------------------------------------------- */
/* MESSAGES LIST                                        */
/* ---------------------------------------------------- */
.messages-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.msg-item {
  background: var(--bg-surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.msg-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.msg-item-head strong {
  font-size: 0.95rem;
  color: #fff;
}

.msg-item-head time {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.msg-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---------------------------------------------------- */
/* TOAST NOTIFICATION                                   */
/* ---------------------------------------------------- */
.dash-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  background: rgba(15, 18, 26, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-dim);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.dash-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------- */
/* RESPONSIVE                                           */
/* ---------------------------------------------------- */
@media (max-width: 900px) {
  .dash-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
  }

  .dash-sidebar.open {
    transform: translateX(0);
  }

  .btn-sidebar-toggle {
    display: block;
  }

  .dash-content-scroll {
    padding: 1.5rem 1rem;
  }

  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
}
