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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #1a1a2e;
  color: #e0e0e0;
  min-height: 100vh;
}

.screen {
  min-height: 100vh;
}

/* Login */
.login-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 16px;
}

.login-box h1 {
  font-size: 2rem;
  color: #fff;
}

.login-box p {
  color: #888;
}

/* Buttons */
.btn {
  padding: 8px 16px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #2a2a3e;
  color: #e0e0e0;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.15s;
}

.btn:hover {
  background: #3a3a5e;
  border-color: #666;
}

.btn-primary {
  background: #4a6cf7;
  border-color: #4a6cf7;
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
}

.btn-primary:hover {
  background: #3a5ce7;
}

.btn-small {
  padding: 4px 12px;
  font-size: 12px;
}

kbd {
  display: inline-block;
  padding: 2px 6px;
  margin-right: 4px;
  border: 1px solid #555;
  border-radius: 3px;
  background: #333;
  font-family: monospace;
  font-size: 12px;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: #16213e;
  border-bottom: 1px solid #333;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-left h1 {
  font-size: 1.1rem;
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

#progress-text {
  color: #4a6cf7;
  font-weight: 600;
}

select {
  padding: 6px 10px;
  border: 1px solid #444;
  border-radius: 4px;
  background: #2a2a3e;
  color: #e0e0e0;
  font-size: 13px;
}

/* Image Viewer */
.image-viewer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 24px;
  max-height: calc(100vh - 340px);
}

.image-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  min-height: 300px;
}

.image-panel img {
  max-width: 100%;
  max-height: calc(100vh - 380px);
  object-fit: contain;
}

.image-label {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #888;
}

/* Pair Info */
.pair-info {
  padding: 4px 24px;
  font-size: 12px;
  color: #666;
}

.pair-prompt {
  padding: 2px 24px 8px;
  font-size: 12px;
  color: #999;
  font-style: italic;
}

/* Controls */
.controls {
  display: flex;
  gap: 32px;
  padding: 12px 24px;
  justify-content: center;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-label {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
}

/* Rating button states */
.rating-btn.selected {
  border-color: #4a6cf7;
  background: #2a3a6e;
  color: #fff;
}

.approve-btn.selected {
  border-color: #22c55e;
  background: #1a4a2e;
  color: #22c55e;
}

.reject-btn.selected {
  border-color: #ef4444;
  background: #4a1a1a;
  color: #ef4444;
}

/* Rejection Panel */
.rejection-panel {
  display: flex;
  gap: 8px;
  padding: 8px 24px;
  justify-content: center;
  align-items: center;
  background: #2a1a1a;
  border: 1px solid #4a2a2a;
  border-radius: 8px;
  margin: 0 24px;
}

.reason-btn.selected {
  border-color: #ef4444;
  background: #4a1a1a;
  color: #ef4444;
}

/* Notes */
.notes-row {
  padding: 8px 24px;
}

.notes-row input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #222;
  color: #e0e0e0;
  font-size: 13px;
}

.notes-row input:focus {
  outline: none;
  border-color: #4a6cf7;
}

/* Footer */
footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 12px 24px;
  font-size: 12px;
  color: #666;
  border-top: 1px solid #333;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px;
  text-align: center;
}

.empty-state h2 {
  color: #22c55e;
  margin-bottom: 8px;
}
