* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1a1a1a;
}

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

.card h1 {
  font-size: 20px;
  margin: 0 0 4px;
}

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

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

input[type="text"],
input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
}

input:focus {
  border-color: #25d366;
}

button {
  width: 100%;
  margin-top: 22px;
  padding: 11px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #25d366;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

button:disabled {
  background: #9ad9b6;
  cursor: not-allowed;
}

.error {
  margin-top: 14px;
  color: #c0392b;
  font-size: 13px;
  display: none;
}

.notice {
  margin-top: 14px;
  color: #2e7d32;
  font-size: 13px;
  display: none;
}

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

.link-btn {
  background: none;
  color: #25d366;
  font-weight: 600;
  margin-top: 12px;
  text-decoration: underline;
  cursor: pointer;
}

/* Dashboard layout */
.dashboard-wrap {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  max-width: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.topbar h2 {
  font-size: 15px;
  margin: 0;
}

.topbar button {
  width: auto;
  margin: 0;
  padding: 8px 16px;
  background: #eee;
  color: #333;
}

iframe#sheetFrame {
  flex: 1;
  width: 100%;
  border: none;
}
