:root {
    --primary: #0b5cff;
    --primary-dark: #0b1d42;
    --bg-light: #f5f7fb;
    --text-main: #071326;
    --card-bg: #ffffff;
    --radius-lg: 18px;
    --shadow-soft: 0 16px 40px rgba(11, 29, 66, 0.12);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.cvacc-page {
  min-height: 100vh;
  background: linear-gradient(180deg, $f8f9ff 0%, #ffffff 35%, #f5f7fb 100%);
}

.cvacc-container {
  width: 92%;
  max-width: 1120px;
  margin: 0 auto;
}

.cvacc-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 29, 66, 0.06);
}

.cvacc-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.cvacc-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cvacc-logo {
  height: 56px;
  width: auto;
  border-radius: 12px;
  object-fit: contain;
}

.cvacc-brand-name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.cvacc-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(7, 19, 38, 0.82);
}

.cvacc-nav a {
  position: relative;
  padding-bottom: 4px;
}

.cvacc-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.cvacc-nav a:hover::after {
  width: 100%;
}

.cvacc-nav a.cvacc-btn-primary::after {
  display: none !important;
}

.cvacc-btn-primary {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(11, 92, 255, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15 ease;
}

.cvacc-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(11, 92, 255, 0.45);
  background: #0949c7;
}

/* ============ PAGE BG WRAPPER ============ */
.cvacc-auth-page {
    min-height: 70vh;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 35%, #f5f7fb 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

/* ============ CENTER CONTAINER ============ */
.cvacc-auth-center {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ============ CARD ============ */
.cvacc-auth-card {
    width: 100%;
    max-width: 430px;

    background: #ffffff;
    padding: 28px 26px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(11, 29, 66, 0.08);
}

/* ============ TITLE ============ */
.cvacc-auth-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 20px;
}

/* ============ FORM FIELDS ============ */
.cvacc-field {
    margin-bottom: 16px;
}

.cvacc-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
    display: block;
}

.cvacc-input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(7, 19, 38, 0.12);
    padding: 11px 15px;
    font-size: 15px;
    background: #fdfdff;
    transition: 0.2s ease;
}

.cvacc-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(11, 92, 255, 0.15);
}


/* ============ ERROR BOX ============ */
.cvacc-auth-error {
    padding: 10px 14px;
    background: rgba(237, 60, 80, 0.08);
    color: #c41f33;
    border: 1px solid rgba(237, 60, 80, 0.3);
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 12px;
}

.hidden {
    display: none;
}

/* ============ SWITCH TEXT ============ */
.cvacc-auth-switch {
    margin-top: 14px;
    text-align: center;
    font-size: 14px;
}

.cvacc-auth-switch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.cvacc-auth-btn {
  width: 100%;
}
