:root {
  --color-gold: #C5A059;
  --color-gold-light: #DFC488;
  --color-gold-dark: #8F6B2A;
  --color-gold-muted: rgba(197, 160, 89, 0.15);
  --color-gold-border: rgba(197, 160, 89, 0.3);

  --color-bg-dark: #0f1012;
  --color-bg-surface: #16181b;
  --color-bg-card: #1d2025;
  --color-bg-hover: #262a32;
  
  --color-text-main: #f5f5f7;
  --color-text-muted: #9ba1ad;
  --color-text-dim: #656b78;

  --color-border: #282d37;
  --color-border-light: #363d4a;

  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 20px rgba(197, 160, 89, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  line-height: 1.5;
  overflow-x: hidden;
  height: 100vh;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-surface);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border-light);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}

.text-gold {
  color: var(--color-gold);
}

.text-muted {
  color: var(--color-text-muted);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(197, 160, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

.animate-fade-in {
  animation: fadeIn 0.35s ease forwards;
}

/* Form Controls */
.input-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 16, 18, 0.75);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
}

.input-field:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-muted);
  background: var(--color-bg-dark);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #DFC488 0%, #C5A059 50%, #8F6B2A 100%);
  color: #121316;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(197, 160, 89, 0.4);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold-border);
}

.btn-outline:hover {
  background: var(--color-gold-muted);
  border-color: var(--color-gold);
}

.btn-secondary {
  background: var(--color-bg-card);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-border-light);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background: var(--color-bg-hover);
  color: var(--color-text-main);
  border-color: var(--color-border);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: var(--color-gold-muted);
  color: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
}

.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* =========================================================
   1. LANDING & LOGIN PAGE
   ========================================================= */
.landing-view {
  min-height: 100vh;
  display: flex;
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(197, 160, 89, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(143, 107, 42, 0.06) 0%, transparent 50%),
              var(--color-bg-dark);
}

.landing-left {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 4rem;
  border-right: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.landing-pattern {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 480px;
  height: 480px;
  opacity: 0.05;
  pointer-events: none;
}

.landing-brand-logo {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand-icon-img {
  height: 75px;
  max-width: 280px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(197, 160, 89, 0.25));
}

.landing-hero {
  max-width: 580px;
  margin: 4rem 0;
}

.hero-subtitle {
  color: var(--color-gold);
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.18;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #FFFFFF 60%, #C5A059 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cpanel-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.cpanel-feature-item {
  background: rgba(22, 24, 27, 0.6);
  border: 1px solid var(--color-border);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.cpanel-feature-item i {
  color: var(--color-gold);
  font-size: 1.2rem;
}

.landing-footer-locations {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.landing-right {
  flex: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem;
  background: rgba(18, 20, 24, 0.4);
  backdrop-filter: blur(12px);
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #DFC488, #C5A059, #8F6B2A);
}

.login-card-header {
  margin-bottom: 2rem;
  text-align: center;
}

.login-card-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.login-card-header p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.cpanel-badge-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  background: var(--color-gold-muted);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  color: var(--color-gold-light);
}

.login-options-accordion {
  border-top: 1px dashed var(--color-border);
  padding-top: 1rem;
  margin-top: 1rem;
}

.toggle-advanced-btn {
  background: none;
  border: none;
  color: var(--color-gold);
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
}

.toggle-advanced-btn:hover {
  text-decoration: underline;
}

.advanced-settings {
  display: none;
  margin-top: 1rem;
  background: var(--color-bg-dark);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.advanced-settings.open {
  display: block;
}

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

/* =========================================================
   2. DASHBOARD VIEW
   ========================================================= */
.app-container {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* Sidebar Navigation */
.sidebar {
  width: 270px;
  background: var(--color-bg-surface);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sidebar-header {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.sidebar-logo {
  height: 40px;
  object-fit: contain;
}

.sidebar-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.sidebar-brand-sub {
  font-size: 0.65rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-compose-wrap {
  padding: 1.25rem;
}

.compose-btn-full {
  width: 100%;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.sidebar-nav {
  flex: 1;
  padding: 0.5rem 0.8rem;
  overflow-y: auto;
}

.nav-section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-text-dim);
  letter-spacing: 1px;
  padding: 0.75rem 0.75rem 0.35rem 0.75rem;
  font-weight: 600;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 0.2rem;
}

.nav-item:hover {
  background: var(--color-bg-hover);
  color: var(--color-text-main);
}

.nav-item.active {
  background: var(--color-gold-muted);
  color: var(--color-gold-light);
  font-weight: 600;
  border-left: 3px solid var(--color-gold);
}

.nav-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-counter {
  font-size: 0.72rem;
  background: var(--color-bg-dark);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}

.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 16, 18, 0.4);
}

.user-profile-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-gold-muted);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.user-email-text {
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.user-status-text {
  font-size: 0.7rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Mail Column / Master List */
.mail-list-panel {
  width: 380px;
  background: var(--color-bg-dark);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.mail-list-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mail-list-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mail-list-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.search-box-wrap {
  position: relative;
}

.search-box-wrap input {
  padding-left: 2.2rem;
  height: 38px;
  font-size: 0.85rem;
}

.search-icon-pos {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-dim);
  font-size: 0.9rem;
}

.mail-items-container {
  flex: 1;
  overflow-y: auto;
}

.mail-card {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.mail-card:hover {
  background: var(--color-bg-surface);
}

.mail-card.selected {
  background: rgba(197, 160, 89, 0.08);
  border-left: 3px solid var(--color-gold);
}

.mail-card.unread {
  background: rgba(255, 255, 255, 0.02);
}

.mail-card.unread .mail-sender {
  font-weight: 700;
  color: #ffffff;
}

.mail-card.unread .mail-subject {
  font-weight: 600;
  color: var(--color-gold-light);
}

.mail-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.mail-sender {
  font-size: 0.88rem;
  color: var(--color-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.mail-date {
  font-size: 0.72rem;
  color: var(--color-text-dim);
}

.mail-subject {
  font-size: 0.85rem;
  color: var(--color-text-main);
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mail-preview {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mail Detail View */
.mail-detail-panel {
  flex: 1;
  background: var(--color-bg-surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mail-detail-topbar {
  height: 65px;
  border-bottom: 1px solid var(--color-border);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-surface);
}

.mail-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mail-detail-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 2.5rem;
  background: #f0f2f5; /* Light, calm contrast background for reading workspace */
}

.mail-detail-header-card {
  background: #ffffff;
  border: 1px solid #e1e4ea;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-subject-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.35;
  color: #111418; /* Deep rich black for perfect legibility */
}

.detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-sender-info {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.detail-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-gold-muted);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.detail-sender-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: #1a1e24; /* High-contrast crisp dark text */
}

.detail-recipient-line {
  font-size: 0.8rem;
  color: #555e6d; /* Clear medium dark tone */
}

.detail-content-card {
  background: #ffffff; /* Requested Pure White Background */
  color: #1f2328;      /* High contrast dark reading text */
  border: 1px solid #e1e4ea;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  min-height: 420px;
  line-height: 1.85;
  font-size: 1.02rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.detail-content-card p {
  color: #24292f;
  margin-bottom: 1rem;
}

.detail-content-card h1,
.detail-content-card h2,
.detail-content-card h3 {
  color: #0f1419;
  margin-bottom: 0.8rem;
}

.detail-content-card ul,
.detail-content-card ol {
  color: #24292f;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.detail-content-card li {
  margin-bottom: 0.4rem;
}

.detail-content-card a {
  color: #8F6B2A;
  text-decoration: underline;
}

.detail-letterhead-container {
  background: #ffffff;
  color: #1f2328;
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-text-dim);
  text-align: center;
  padding: 2rem;
}

.empty-state-icon {
  font-size: 3.5rem;
  color: var(--color-border-light);
  margin-bottom: 1rem;
}

/* =========================================================
   3. COMPOSE MODAL (Branded Letterhead & Custom SMTP)
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

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

.compose-modal {
  width: 100%;
  max-width: 820px;
  height: 85vh;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.25s ease;
  overflow: hidden;
}

.compose-modal-header {
  padding: 1.25rem 1.75rem;
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.compose-modal-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 1.5rem 1.75rem;
  gap: 1rem;
}

.compose-field-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding: 0.4rem 0;
}

.field-tag {
  width: 85px;
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 600;
  text-transform: uppercase;
}

.field-input-clean {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text-main);
  font-size: 0.92rem;
  font-family: inherit;
  padding: 0.4rem 0;
}

.branding-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-gold-muted);
  border: 1px solid var(--color-gold-border);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.toggle-switch-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.compose-textarea {
  flex: 1;
  width: 100%;
  min-height: 220px;
  background: rgba(15, 16, 18, 0.4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: var(--color-text-main);
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  line-height: 1.6;
  outline: none;
}

.compose-textarea:focus {
  border-color: var(--color-gold);
}

/* Attachment Upload Zone & Pills */
.attachment-upload-zone {
  background: rgba(15, 16, 18, 0.5);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.attachment-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  color: var(--color-text-main);
  animation: fadeIn 0.2s ease;
}

.attachment-pill-name {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.attachment-pill-size {
  color: var(--color-gold);
  font-size: 0.72rem;
}

.attachment-pill-remove {
  background: none;
  border: none;
  color: var(--color-text-dim);
  cursor: pointer;
  padding: 0 0.2rem;
  display: flex;
  align-items: center;
}

.attachment-pill-remove:hover {
  color: #f87171;
}

.compose-modal-footer {
  padding: 1.25rem 1.75rem;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* cPanel Config Inspector Modal */
.config-modal {
  width: 100%;
  max-width: 600px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.config-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.85rem;
}

.config-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.config-table td:first-child {
  color: var(--color-gold);
  font-weight: 600;
  width: 40%;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .landing-view {
    flex-direction: column;
  }
  .landing-left {
    padding: 2.5rem 2rem;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .landing-right {
    padding: 2.5rem 2rem;
  }
  .mail-list-panel {
    width: 320px;
  }
}

@media (max-width: 768px) {
  .app-container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    height: auto;
  }
  .mail-list-panel {
    width: 100%;
    height: 40vh;
  }
}
