/* Checkly signup page — RTL Hebrew, teal theme matching the app */

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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Heebo', Arial, sans-serif;
  background: #0E8A8A;
  background: linear-gradient(180deg, #0E8A8A 0%, #0B7373 100%);
  min-height: 100vh;
  color: #0F172A;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 16px 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header */
.header {
  text-align: center;
  color: #FFFFFF;
  padding: 16px 0;
}

.logo-text {
  display: block;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-tagline {
  display: block;
  font-size: 14px;
  margin-top: 4px;
  opacity: 0.85;
}

/* Card */
.card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.title {
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
  text-align: center;
}

.subtitle {
  font-size: 14px;
  color: #64748B;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Form */
.field-group {
  margin-bottom: 14px;
}

.field-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0E8A8A;
  margin-bottom: 6px;
}

.field-group input,
.field-group select {
  width: 100%;
  font-size: 15px;
  color: #0F172A;
  padding: 12px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  background: #F8FAFC;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}

.field-group input:focus,
.field-group select:focus {
  outline: none;
  border-color: #0E8A8A;
  background: #FFFFFF;
}

.field-group input::placeholder {
  color: #94A3B8;
}

.field-group select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E8A8A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 16px;
  padding-left: 40px;
}

/* Submit button */
.submit-btn {
  width: 100%;
  background: #0E8A8A;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  padding: 16px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
  transition: background 0.15s, opacity 0.15s;
  box-shadow: 0 6px 14px rgba(14, 138, 138, 0.3);
}

.submit-btn:hover {
  background: #0B7373;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-btn.loading::after {
  content: '...';
  display: inline-block;
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Error banner */
.error-banner {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 12px;
}

/* Footer note */
.footer-note {
  font-size: 13px;
  color: #64748B;
  text-align: center;
  margin-top: 18px;
  line-height: 1.6;
}

/* Success state */
.card.success {
  text-align: center;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 12px;
}

.steps {
  background: #F8FAFC;
  border-radius: 14px;
  padding: 18px;
  margin: 22px 0 12px;
  text-align: right;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: #0F172A;
}

.step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #0E8A8A;
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
}

/* Confirmed page (separate file) */
.confirmed-icon {
  font-size: 80px;
  margin-bottom: 16px;
}
