* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding: 20px;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 28px;
  width: 100%;
  max-width: 400px;
}

h1 {
  text-align: center;
  font-size: 22px;
  letter-spacing: 1px;
  margin: 0 0 24px;
  color: #1a1a1a;
}

label {
  display: block;
  font-size: 13px;
  color: #555;
  margin: 14px 0 6px;
}

input[type="tel"],
select,
input[type="text"],
input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  background: #fafafa;
}

.operator-choice {
  display: flex;
  gap: 10px;
}

.op-btn {
  flex: 1;
  margin: 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  color: #333;
  position: relative;
}

.op-btn input {
  position: absolute;
  opacity: 0;
}

.op-btn:has(input:checked) {
  border-color: #f7941d;
  background: #fff6ea;
  color: #f7941d;
  font-weight: 600;
}

.btn-primary {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
}

.btn-secondary {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: #fff;
  color: #b8860b;
  border: 1px solid #d4af37;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 26px 0 16px;
}

.reconnect-hint {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-bottom: 10px;
}

.status-box {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

.status-box.pending { background: #fff8e1; color: #8a6d00; }
.status-box.success { background: #e8f5e9; color: #1b5e20; }
.status-box.error   { background: #fdecea; color: #b71c1c; }
