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

:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #818cf8;
  --primary-bg: #eef2ff;
  --bg: #f1f5f9;
  --sidebar-bg: #1e293b;
  --sidebar-text: #cbd5e1;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --red: #ef4444;
  --green: #22c55e;
  --blue: #3b82f6;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  height: 100vh;
  overflow: hidden;
  color: var(--gray-900);
}

.hidden { display: none !important; }

/* ===== AUTH SCREEN ===== */
.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gray-900);
}

/* Animated Background */
.auth-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.auth-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.shape-1 {
  width: 600px; height: 600px;
  background: #4f46e5;
  top: -200px; right: -100px;
  animation: float1 15s ease-in-out infinite;
}

.shape-2 {
  width: 500px; height: 500px;
  background: #7c3aed;
  bottom: -150px; left: -100px;
  animation: float2 18s ease-in-out infinite;
}

.shape-3 {
  width: 400px; height: 400px;
  background: #2563eb;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, 60px) scale(1.1); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -80px) scale(1.15); }
}

@keyframes float3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
}

/* Auth Container */
.auth-container {
  display: flex;
  width: 100%;
  max-width: 960px;
  min-height: 580px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
  margin: 20px;
}

/* Left Branding Panel */
.auth-branding {
  flex: 1;
  background: linear-gradient(135deg, rgba(79,70,229,0.9) 0%, rgba(124,58,237,0.9) 100%);
  backdrop-filter: blur(20px);
  padding: 48px;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.auth-branding::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.brand-content {
  position: relative;
  z-index: 1;
}

.brand-icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.brand-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.brand-subtitle {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 16px;
  font-weight: 300;
}

.brand-domain {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 36px;
}

.brand-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.9;
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(52,211,153,0.5);
}

/* Right Form Panel */
.auth-card {
  flex: 1;
  background: var(--white);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
}

.auth-card-header {
  margin-bottom: 28px;
}

.auth-card-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.auth-card-header p {
  font-size: 14px;
  color: var(--gray-500);
}

/* Tabs */
.auth-tabs {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 28px;
}

.tab {
  flex: 1;
  padding: 10px 16px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.25s ease;
  font-family: inherit;
}

.tab.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight: 600;
}

.tab:hover:not(.active) { color: var(--gray-700); }

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

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

.input-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.02em;
}

.input-hint {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
}

/* Input Wrappers */
.email-input, .password-input, .text-input {
  display: flex;
  align-items: center;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
  background: var(--white);
}

.email-input:focus-within,
.password-input:focus-within,
.text-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-bg);
}

.input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 14px;
  color: var(--gray-400);
  flex-shrink: 0;
}

.email-input input,
.password-input input,
.text-input input {
  flex: 1;
  border: none;
  padding: 13px 12px;
  font-size: 14px;
  font-family: inherit;
  background: transparent;
  color: var(--gray-900);
}

.email-input input:focus,
.password-input input:focus,
.text-input input:focus {
  outline: none;
}

.email-input input::placeholder,
.password-input input::placeholder,
.text-input input::placeholder {
  color: var(--gray-400);
}

/* Domain Tag */
.domain-tag {
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  color: white;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Toggle Password */
.toggle-pass {
  background: none;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.toggle-pass:hover { color: var(--gray-600); }

/* Password Strength */
.password-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.strength-bar {
  flex: 1;
  height: 4px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.strength-text {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-400);
  white-space: nowrap;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  color: white;
  border: none;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  margin-top: 4px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,70,229,0.4);
}

.btn-primary:hover::before { opacity: 1; }

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(79,70,229,0.3);
}

/* Button Loader */
.btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error Message */
.error-msg {
  color: var(--red);
  font-size: 13px;
  text-align: center;
  min-height: 18px;
  padding: 0 4px;
  font-weight: 500;
  animation: shakeIn 0.4s ease;
}

@keyframes shakeIn {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* Auth Footer */
.auth-footer {
  margin-top: auto;
  padding-top: 24px;
  text-align: center;
}

.auth-footer p {
  font-size: 12px;
  color: var(--gray-400);
}

/* ===== RESPONSIVE AUTH ===== */
@media (max-width: 768px) {
  .auth-container {
    flex-direction: column;
    max-width: 440px;
    min-height: auto;
  }

  .auth-branding {
    padding: 32px 28px;
  }

  .brand-features { display: none; }

  .brand-title { font-size: 28px; }
  .brand-subtitle { font-size: 14px; margin-bottom: 10px; }

  .auth-card {
    padding: 32px 28px;
  }
}

/* ===== MAIL SCREEN ===== */
.mail-screen {
  display: flex;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo-small {
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-small svg { color: var(--primary-light); }

.user-email {
  font-size: 12px;
  color: var(--primary-light);
  word-break: break-all;
  margin-top: 4px;
}

.btn-compose {
  margin: 16px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(79,70,229,0.3);
}

.btn-compose:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79,70,229,0.4);
}

.folders {
  flex: 1;
  padding: 4px 8px;
  overflow-y: auto;
}

.folder-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gray-500);
  padding: 16px 16px 6px;
}

.folder {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  color: var(--sidebar-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  transition: all 0.15s;
  font-family: inherit;
}

.folder svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.folder:hover {
  background: rgba(255,255,255,0.08);
}

.folder:hover svg { opacity: 1; }

.folder.active {
  background: rgba(79,70,229,0.2);
  color: var(--primary-light);
}

.folder.active svg {
  color: var(--primary-light);
  opacity: 1;
}

.badge {
  margin-left: auto;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

.badge:empty { display: none; }

/* Storage */
.storage-info {
  margin-bottom: 12px;
}

.storage-bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.storage-fill {
  height: 100%;
  width: 1%;
  background: var(--primary-light);
  border-radius: 4px;
  transition: width 0.3s;
}

.storage-text {
  font-size: 11px;
  color: var(--gray-500);
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.btn-logout {
  width: 100%;
  padding: 10px;
  background: rgba(255,255,255,0.04);
  color: var(--gray-400);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-logout:hover {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.2);
  color: #fca5a5;
}

/* Main */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: var(--gray-50);
}

/* Toolbar */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  gap: 12px;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.toolbar-right {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 400px;
}

.toolbar-btn {
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.toolbar-btn:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

.toolbar-btn.btn-danger:hover {
  background: #fef2f2;
  color: var(--red);
}

.toolbar-divider {
  width: 1px;
  height: 20px;
  background: var(--gray-200);
  margin: 0 4px;
}

/* Checkbox */
.checkbox-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
}

.checkbox-wrap input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkmark { display: none; }

/* Search */
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 6px 14px;
  width: 100%;
  transition: all 0.2s;
}

.search-bar:focus-within {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-bg);
}

.search-bar svg {
  color: var(--gray-400);
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  border: none;
  background: none;
  font-size: 13px;
  font-family: inherit;
  color: var(--gray-900);
  padding: 4px 0;
}

.search-bar input:focus { outline: none; }
.search-bar input::placeholder { color: var(--gray-400); }

/* Email List */
.email-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: white;
  border-bottom: 1px solid var(--gray-100);
}

.list-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
}

.email-count {
  font-size: 12px;
  color: var(--gray-400);
}

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

.email-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: white;
  cursor: pointer;
  transition: all 0.12s;
  border-bottom: 1px solid var(--gray-100);
}

.email-row:hover { background: var(--gray-50); }

.email-row.unread {
  background: #f0f4ff;
}

.email-row.unread .email-from { font-weight: 700; color: var(--gray-900); }
.email-row.unread .email-subject { color: var(--gray-700); font-weight: 600; }

.email-row .checkbox-wrap {
  padding: 0;
}

.email-star {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--gray-300);
  display: flex;
  transition: color 0.15s;
}

.email-star:hover { color: #facc15; }
.email-star.starred { color: #facc15; }

.email-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  color: white;
}

.email-info {
  flex: 1;
  min-width: 0;
}

.email-from {
  font-size: 13px;
  color: var(--gray-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-subject {
  font-size: 13px;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.email-preview {
  font-size: 12px;
  color: var(--gray-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.email-time {
  font-size: 11px;
  color: var(--gray-400);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: var(--gray-400);
}

.empty-icon {
  margin-bottom: 16px;
  color: var(--gray-300);
}

.empty-state p {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.empty-sub {
  font-size: 13px;
  color: var(--gray-400);
}

/* Email Detail */
.email-detail {
  position: absolute;
  inset: 0;
  background: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
}

.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.detail-actions {
  display: flex;
  gap: 4px;
}

.btn-back {
  background: none;
  border: 1px solid var(--gray-200);
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  font-family: inherit;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-back:hover { background: white; }

.detail-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px;
}

.detail-subject {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
  line-height: 1.3;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 13px;
  color: var(--gray-500);
}

.detail-meta strong {
  color: var(--gray-700);
  font-weight: 600;
}

.detail-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
  white-space: pre-wrap;
}

/* Compose */
.compose {
  position: absolute;
  bottom: 0;
  right: 24px;
  width: 520px;
  height: 480px;
  background: white;
  display: flex;
  flex-direction: column;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 40px rgba(0,0,0,0.15);
  z-index: 20;
  overflow: hidden;
}

.compose-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--gray-800);
  color: white;
  border-radius: 12px 12px 0 0;
}

.compose-header h2 {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.compose-header-actions {
  display: flex;
  gap: 2px;
}

.compose-header-actions .toolbar-btn {
  color: var(--gray-400);
  padding: 6px;
}

.compose-header-actions .toolbar-btn:hover {
  color: white;
  background: rgba(255,255,255,0.1);
}

.compose-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.compose-field {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--gray-100);
}

.compose-field label {
  width: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
}

.compose-field input {
  flex: 1;
  border: none;
  font-size: 13px;
  padding: 6px 0;
  font-family: inherit;
  color: var(--gray-900);
}

.compose-field input:focus { outline: none; }
.compose-field input::placeholder { color: var(--gray-400); }

.compose-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.compose-body textarea {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  resize: none;
  font-family: inherit;
  color: var(--gray-800);
}

.compose-body textarea:focus { outline: none; }
.compose-body textarea::placeholder { color: var(--gray-400); }

.compose-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--gray-100);
}

.compose-tools {
  display: flex;
  gap: 2px;
  margin-left: 8px;
}

.btn-send {
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-send:hover {
  box-shadow: 0 4px 12px rgba(79,70,229,0.4);
  transform: translateY(-1px);
}

.send-status {
  padding: 0 16px 8px;
  font-size: 12px;
}

.send-status.success { color: var(--green); }
.send-status.error { color: var(--red); }

/* Responsive */
@media (max-width: 900px) {
  .compose {
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

@media (max-width: 768px) {
  .sidebar { width: 56px; }
  .sidebar-header { padding: 12px 8px; }
  .logo-small span, .logo-small { font-size: 0; justify-content: center; }
  .logo-small svg { font-size: initial; }
  .btn-compose span { display: none; }
  .btn-compose { padding: 10px; justify-content: center; }
  .folder span { display: none; }
  .badge { display: none; }
  .user-email { display: none; }
  .folder-section-title { display: none; }
  .sidebar-footer { display: none; }
  .folder { justify-content: center; padding: 10px; }
  .folder svg { margin: 0; }
  .toolbar { padding: 6px 10px; }
  .search-bar { display: none; }
}
