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

body {
  font-family: Arial, sans-serif;
  background: #f0f2f5;
  color: #333;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 36px 32px;
  max-width: 560px;
  width: 100%;
}

h1 {
  color: #1a3a5c;
  font-size: 24px;
  margin-bottom: 4px;
}

.subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 24px;
}

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 2px solid #e8e8e8;
  padding-bottom: 0;
}

.tab {
  background: none;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.tab:hover {
  color: #1a3a5c;
}

.tab.active {
  color: #1a3a5c;
  border-bottom-color: #1a3a5c;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
  margin-top: 16px;
}

label:first-child {
  margin-top: 0;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #1a3a5c;
}

input[type="file"] {
  margin-top: 8px;
  font-size: 14px;
}

.hint {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
  min-height: 18px;
}

.hint.success {
  color: #2e7d32;
}

.hint.error {
  color: #c62828;
}

.btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 24px;
  background: #1a3a5c;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover:not(:disabled) {
  background: #254d73;
}

.btn:disabled {
  background: #8a9bb0;
  cursor: not-allowed;
}

.results {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
}

.results.hidden {
  display: none;
}

.result-section {
  margin-bottom: 16px;
}

.result-section h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.result-section.sent h3 {
  color: #2e7d32;
}

.result-section.skipped h3 {
  color: #f57c00;
}

.result-section.errored h3 {
  color: #c62828;
}

.result-section ul {
  list-style: none;
  padding: 0;
}

.result-section li {
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
}
