/* Veaber Drop 1px Slate Monotone Minimal Design System */
:root {
  --bg: #090D16;
  --panel: #0F172A;
  --panel-border: #1E293B;
  --card-hover: #162032;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --accent: #10B981;
  --accent-glow: rgba(16, 185, 129, 0.25);
  --danger: #EF4444;
  --radius: 16px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

/* App Header */
header {
  width: 100%;
  max-width: 680px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 24px 0;
  border-bottom: 1px solid var(--panel-border);
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent), #059669);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 0 15px var(--accent-glow);
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Main Container */
main {
  width: 100%;
  max-width: 680px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 0;
}

/* Drop Zone */
.dropzone {
  width: 100%;
  min-height: 280px;
  background: var(--panel);
  border: 1.5px dashed var(--panel-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--accent);
  background: var(--card-hover);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.drop-icon {
  font-size: 48px;
  margin-bottom: 16px;
  transition: transform 0.2s ease;
}

.dropzone:hover .drop-icon {
  transform: translateY(-4px);
}

.drop-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.drop-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.6;
}

/* Mode Switcher Tabs */
.mode-tabs {
  display: flex;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
  width: 100%;
}

.mode-tab {
  flex: 1;
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-tab.active {
  background: var(--bg);
  color: var(--accent);
  border: 1px solid var(--panel-border);
}

/* Transfer Progress Card */
.transfer-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.file-title {
  font-size: 15px;
  font-weight: 700;
  word-break: break-all;
}

.file-size {
  font-size: 12px;
  color: var(--text-muted);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #34D399);
  transition: width 0.15s ease;
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* Receive Section Input */
.receive-box {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.code-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 4px;
  text-align: center;
  outline: none;
}

.code-input:focus {
  border-color: var(--accent);
}

.btn-action {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-action:active {
  transform: scale(0.98);
}

/* Footer Guarantee */
footer {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--panel-border);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.feature-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
