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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: #f5f5f5;
  color: #1a1a1a;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  text-align: center;
  padding: 30px 0;
}

.logo-link {
  display: inline-block;
}

.logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 16px;
}

.header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: block;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}

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

.btn-primary {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: #f3f4f6;
  color: #1a1a1a;
  border-color: #d1d5db;
}

.btn-secondary:hover {
  background: #e5e7eb;
}

.btn-outline {
  background: transparent;
  color: #2563eb;
  border-color: #2563eb;
}

.btn-outline:hover {
  background: #eff6ff;
}

.btn-large {
  padding: 20px 24px;
  font-size: 1.25rem;
}

.btn-full {
  width: 100%;
}

.btn-note {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: -8px;
}

.job-code-section {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.section-label {
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.job-code-form {
  display: flex;
  gap: 8px;
}

.job-code-form .input {
  flex: 1;
}

.job-code-form .btn {
  padding: 12px 20px;
}

.input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  background: white;
  transition: border-color 0.2s;
}

.input:focus {
  outline: none;
  border-color: #2563eb;
}

.textarea {
  resize: vertical;
  min-height: 120px;
}

.notice {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.notice p {
  font-size: 0.9rem;
  color: #92400e;
}

.notice-warning {
  font-weight: 600;
  margin-top: 8px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.step-number {
  width: 40px;
  height: 40px;
  background: #2563eb;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h2 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.step-content p {
  color: #666;
  font-size: 0.95rem;
}

.policy-content {
  gap: 16px;
}

.policy-section {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.policy-section h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.policy-section p {
  color: #555;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.contact-form {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-info {
  text-align: center;
  color: #666;
}

.contact-info strong {
  color: #2563eb;
}

.status-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-ok .status-indicator {
  background: #22c55e;
}

.status-disabled .status-indicator {
  background: #f59e0b;
}

.status-info .status-indicator {
  background: #3b82f6;
}

.status-info {
  flex: 1;
}

.status-info h2 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.status-info p {
  font-size: 0.9rem;
  color: #666;
}

.status-link {
  font-size: 0.9rem;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.status-link:hover {
  text-decoration: underline;
}

.footer {
  padding: 24px 0;
  margin-top: auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-nav a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #2563eb;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #999;
}

@media (min-width: 480px) {
  .container {
    padding: 40px 20px;
  }
  
  .header {
    padding: 40px 0;
  }
  
  .header h1 {
    font-size: 2rem;
  }
}
