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

body {
  font-family: 'Noto Sans', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  height: 100vh;
  overflow-y: auto;
}

.container {
  max-width: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat {
  background: #1a1a1a;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 100px;
}

.label {
  font-size: 11px;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value {
  font-size: 20px;
  font-weight: 600;
}

.mailbox, .spam-box {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  min-height: 200px;
}

.mailbox-header, .spam-header {
  padding: 16px;
  font-weight: 600;
  border-bottom: 1px solid #333;
  font-size: 14px;
}

.emails, .spam-emails {
  display: flex;
  flex-direction: column;
}

.email {
  padding: 16px;
  border-bottom: 1px solid #333;
  animation: slideIn 0.3s ease;
  cursor: pointer;
  transition: background 0.2s;
}

.email:hover {
  background: #252525;
}

.email.spam {
  opacity: 0.5;
}

.email.blocked {
  animation: blockOut 0.5s ease forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blockOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.email-subject {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.email-preview {
  font-size: 12px;
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  margin-top: 6px;
  text-transform: uppercase;
  font-weight: 600;
}

.tag-spam {
  background: #ff4444;
  color: #fff;
}

.tag-legit {
  background: #44ff44;
  color: #000;
}

.empty-state {
  padding: 40px 16px;
  text-align: center;
  opacity: 0.4;
  font-size: 13px;
}