@import 'variables.css';
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg-color);
  padding: 0;
  font-size: var(--text-base);
  color: var(--text-main);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.topbar {
  background: var(--bg-surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
  min-height: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-color);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  margin-left: auto;
  margin-right: 18px;
}

.nav a {
  text-decoration: none;
  font-size: var(--text-sm);
  color: var(--text-muted);
  white-space: nowrap;
}

.actions {
  display: flex;
  gap: 8px;
}

.btn-outline,
.btn-solid {
  cursor: pointer;
  border-radius: 8px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline {
  min-width: clamp(60px, 8vw, 100px);
  height: var(--btn-height-sm);
  background: transparent;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  font-size: var(--text-sm);
  padding: 0 12px;
}

.btn-solid {
  min-width: clamp(60px, 8vw, 100px);
  height: var(--btn-height-sm);
  background: var(--btn-gradient);
  border: none;
  color: var(--btn-text);
  font-size: var(--text-sm);
  padding: 0 12px;
  font-weight: 700;
}

.otp-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-padding) 16px;
  background: var(--bg-color);
  min-height: 80vh;
}

.otp-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.otp-logo {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
  text-align: center;
}

.otp-sub {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 400;
}

.role-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
  justify-content: space-between;
}

.role-card {
  flex: 1;
  padding: 14px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 0;
}

.role-card.selected {
  background: rgba(241, 201, 125, 0.1);
  border-color: var(--primary-color);
}

.role-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.role-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.otp-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 14px;
  text-align: center;
}

.otp-desc {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  margin-top: 2px;
}

.phone-row {
  display: flex;
  gap: 10px;
  width: 100%;
  margin: 18px 0;
}

.country-prefix {
  width: 110px;
  height: 52px;
  background: #2A2A2A;
  border: none;
  color: #E5E2E1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
}

.phone-input {
  flex: 1;
  height: 52px;
  background: #2A2A2A;
  border: none;
  color: #A89D89;
  border-radius: 14px;
  padding: 0 16px;
  font-size: 16px;
  outline: none;
}

.otp-divider {
  width: 100%;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.otp-boxes {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 8px 0;
}

.otp-box {
  width: 44px;
  height: 48px;
  font-size: 22px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  border-radius: 8px;
  text-align: center;
  outline: none;
}

.otp-box.filled {
  background: rgba(241, 201, 125, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-full {
  width: 100%;
  padding: 12px;
  background: var(--btn-gradient);
  border: none;
  border-radius: 8px;
  color: var(--btn-text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.resend {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: center;
}

.resend span {
  color: var(--primary-color);
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 480px) {
  .topbar-inner {
    padding: 16px 0;
  }
  
  .otp-card {
    padding: 24px;
    border-radius: 12px;
    margin: 0 16px;
    width: calc(100% - 32px);
  }

  .otp-logo, .logo {
    font-size: 22px;
  }

  .otp-boxes {
    gap: 4px;
  }

  .otp-box {
    width: 38px;
    height: 42px;
    font-size: 18px;
  }
}

