/* SkillDzire login UI (OTP) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --sk-orange: #f0441d;
  --sk-orange-hover: #d93817;
  --sk-navy: #071d49;
  --sk-text: #13233f;
  --sk-muted: #60708a;
  --sk-border: #dfe5ed;
  --sk-bg: #f5f7fa;
  --sk-card-radius: 10px;
  --sk-control-radius: 6px;
  --sk-shadow: 0 8px 24px rgba(22, 42, 70, 0.06);
}

.sk-ui,
.sk-ui * {
  box-sizing: border-box;
}

.sk-ui {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--sk-text);
  background: var(--sk-bg);
}

.sk-logo {
  width: 115px;
  max-width: none;
  height: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.sk-card {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-top: 3px solid var(--sk-orange);
  border-radius: var(--sk-card-radius);
  box-shadow: var(--sk-shadow);
}

.sk-title {
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  color: var(--sk-navy);
  letter-spacing: -0.3px;
  margin: 0 0 4px;
}

.sk-subtitle {
  max-width: 320px;
  margin: 0 auto 14px;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: var(--sk-muted);
}

.sk-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--sk-text);
  margin-bottom: 5px;
}

.sk-required {
  color: var(--sk-orange);
}

.sk-input {
  width: 100%;
  height: 42px;
  border: 1px solid #cfd7e2;
  border-radius: var(--sk-control-radius);
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--sk-text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sk-input:focus {
  border-color: var(--sk-orange);
  box-shadow: 0 0 0 3px rgba(240, 68, 29, 0.08);
}

.sk-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.sk-password-wrap .sk-input {
  padding-right: 42px;
}

/* Prevent Edge / Chromium native password reveal & clear icons from clashing */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Guarantee only ONE custom toggle SVG icon is EVER visible at any time */
.sk-password-wrap .sk-icon-eye,
.sk-password-wrap .sk-icon-eye-off {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  pointer-events: none;
}

.sk-password-wrap:not(.is-showing-password) .sk-icon-eye {
  display: block !important;
}

.sk-password-wrap:not(.is-showing-password) .sk-icon-eye-off {
  display: none !important;
}

.sk-password-wrap.is-showing-password .sk-icon-eye {
  display: none !important;
}

.sk-password-wrap.is-showing-password .sk-icon-eye-off {
  display: block !important;
}

.sk-btn-show-pwd {
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  width: 40px;
  background: transparent;
  border: none;
  border-radius: 0 var(--sk-control-radius) var(--sk-control-radius) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sk-muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.sk-btn-show-pwd:hover {
  color: var(--sk-text);
  background: rgba(0, 0, 0, 0.03);
}

.sk-btn-show-pwd:focus-visible {
  outline: 2px solid var(--sk-orange);
  outline-offset: -2px;
}

.sk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border: none;
  border-radius: var(--sk-control-radius);
  background: var(--sk-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.sk-btn:hover {
  background: var(--sk-orange-hover);
  color: #fff;
}

.sk-btn-block {
  width: 100%;
}

.sk-btn-muted {
  background: #f1f3f6;
  color: var(--sk-navy);
}

.sk-btn-muted:hover {
  background: #e8ebef;
  color: var(--sk-navy);
}

.sk-alert {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: var(--sk-control-radius);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 12px;
  word-break: break-word;
  animation: skFadeIn 0.15s ease-in-out;
}

.sk-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-weight: 500;
}

.sk-alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-weight: 500;
}

.sk-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-weight: 500;
}

@keyframes skFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.sk-auth-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 16px;
  background: var(--sk-bg);
}

.sk-auth-wrap {
  width: 100%;
  max-width: 410px;
}

.sk-auth-card {
  padding: 26px 28px 22px;
}

.sk-auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.sk-otp-input {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 5px;
  height: 44px;
}

.sk-otp-email {
  text-align: center;
  color: var(--sk-navy);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  word-break: break-word;
}

.sk-otp-step {
  display: none;
}

.sk-otp-step.is-active {
  display: block;
}

.sk-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  color: var(--sk-navy);
  font-size: 12px;
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}

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

.sk-link-inline {
  color: var(--sk-navy);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.sk-link-inline:hover {
  text-decoration: underline;
}

.sk-status {
  display: none;
}

.sk-ui .sk-tnc {
  margin: 0 0 12px;
}

.sk-ui .sk-tnc-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #444;
  font-weight: 400;
  cursor: pointer;
}

.sk-ui .sk-tnc-input {
  margin: 2px 0 0;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.sk-ui .sk-tnc-label a {
  color: #1a73e8;
  text-decoration: underline;
}

.sk-social-divider {
  display: flex;
  align-items: center;
  margin: 12px 0 10px;
}

.sk-social-divider-line {
  flex: 1;
  height: 1px;
  background: var(--sk-border);
}

.sk-social-divider-text {
  padding: 0 10px;
  color: var(--sk-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sk-social-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sk-btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--sk-text);
  border: 1px solid var(--sk-border);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  height: 40px;
  border-radius: var(--sk-control-radius);
  box-shadow: 0 1px 2px rgba(22, 42, 70, 0.04);
  transition: all 0.15s ease;
}

.sk-btn-social:hover {
  background: #f8fafc;
  border-color: #cfd7e2;
  color: var(--sk-navy);
  text-decoration: none;
}

.sk-terms-footer {
  text-align: center;
  margin-top: 14px;
  font-size: 11px;
  color: #60708a;
}

.sk-terms-footer a {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .sk-auth-card {
    padding: 22px 20px 18px;
  }
}
