/**
 * User System Module CSS
 *
 * All values reference global design tokens from global.css.
 * NO hardcoded hex, rem, px, or font values.
 *
 * @package Nexus\Modules\UserSystem
 * @since   1.0.0
 */

/* ═══════════════════════════════════════════════════════════════
   AUTH CONTAINER (Login / Register / Reset)
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-auth-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    padding: var(--nexus-spacing-2xl) var(--nexus-spacing-md);
    background: var(--nexus-color-background);
}

.nexus-us-auth-card {
    width: 100%;
    max-width: var(--nexus-container-sm);
    padding: var(--nexus-spacing-2xl);
}

.nexus-us-auth-card--wide {
    max-width: var(--nexus-container-md);
}

.nexus-us-auth-header {
    text-align: center;
    margin-bottom: var(--nexus-spacing-lg);
}

.nexus-us-auth-icon {
    margin: 0 auto var(--nexus-spacing-md);
}

.nexus-us-auth-icon .dashicons {
    font-size: var(--nexus-font-size-2xl);
    width: auto;
    height: auto;
    line-height: inherit;
}

.nexus-us-auth-title {
    font-family: var(--nexus-font-secondary);
    font-size: var(--nexus-font-size-xl);
    font-weight: var(--nexus-font-weight-bold);
    color: var(--nexus-color-text-primary);
    margin: 0 0 var(--nexus-spacing-xs);
}

.nexus-us-auth-subtitle {
    font-size: var(--nexus-font-size-base);
    color: var(--nexus-color-text-secondary);
    margin: 0;
}

.nexus-us-auth-footer {
    text-align: center;
    font-size: var(--nexus-font-size-base);
    color: var(--nexus-color-text-secondary);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FORM UTILITIES
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-form {
    width: 100%;
}

.nexus-us-form-row {
    display: flex;
    align-items: center;
    gap: var(--nexus-spacing-sm);
    margin-bottom: var(--nexus-spacing-md);
}

.nexus-us-form-row--between {
    justify-content: space-between;
}

.nexus-us-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.nexus-us-password-wrap .nexus-input {
    padding-right: var(--nexus-spacing-2xl);
}

.nexus-us-password-toggle {
    position: absolute;
    right: var(--nexus-spacing-sm);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--nexus-color-text-tertiary);
    padding: var(--nexus-spacing-xs);
    display: flex;
    align-items: center;
}

.nexus-us-password-toggle:hover {
    color: var(--nexus-color-text-primary);
}

.nexus-us-link {
    font-size: var(--nexus-font-size-base);
    color: var(--nexus-color-text-secondary);
    text-decoration: none;
    transition: color var(--nexus-transition-fast);
}

.nexus-us-link:hover {
    color: var(--nexus-color-text-primary);
}

.nexus-us-link--accent {
    color: var(--nexus-color-accent);
    font-weight: var(--nexus-font-weight-semibold);
}

.nexus-us-link--accent:hover {
    color: var(--nexus-color-accent-hover);
}

.nexus-us-submit {
    margin-top: var(--nexus-spacing-sm);
}

.nexus-us-submit[disabled] .nexus-us-submit-text {
    opacity: 0;
}

/* ── Message / Alert ────────────────────────────────────────── */

.nexus-us-message {
    margin-bottom: var(--nexus-spacing-md);
}

.nexus-us-message--success {
    background: var(--nexus-color-success-bg);
    color: var(--nexus-color-success);
    padding: var(--nexus-spacing-md);
    border-radius: var(--nexus-radius-md);
    border: 1px solid var(--nexus-color-success);
    font-size: var(--nexus-font-size-base);
}

.nexus-us-message--error {
    background: var(--nexus-color-danger-bg);
    color: var(--nexus-color-danger);
    padding: var(--nexus-spacing-md);
    border-radius: var(--nexus-radius-md);
    border: 1px solid var(--nexus-color-danger);
    font-size: var(--nexus-font-size-base);
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT — SIDEBAR + MAIN
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-layout {
    display: flex;
    min-height: 100vh;
    background: var(--nexus-color-background, #f5f5f5);
}

/* ── SIDEBAR ────────────────────────────────────────────────── */

.nexus-us-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--nexus-color-surface, #fff);
    border-right: 1px solid var(--nexus-color-border, #e5e7eb);
    display: flex;
    flex-direction: column;
    padding: var(--nexus-spacing-lg, 24px) 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.nexus-us-sidebar__profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--nexus-spacing-xs, 8px);
    padding: 0 var(--nexus-spacing-md, 16px) var(--nexus-spacing-lg, 24px);
    border-bottom: 1px solid var(--nexus-color-border, #e5e7eb);
    margin-bottom: var(--nexus-spacing-md, 16px);
}

.nexus-us-sidebar__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--nexus-color-border, #e5e7eb);
}

.nexus-us-sidebar__name {
    font-weight: 600;
    font-size: 14px;
    color: var(--nexus-color-text-primary, #1a1a2e);
    text-align: center;
}

.nexus-us-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 var(--nexus-spacing-sm, 12px);
}

.nexus-us-sidebar__link {
    display: flex;
    align-items: center;
    gap: var(--nexus-spacing-sm, 12px);
    padding: 10px 14px;
    border-radius: var(--nexus-radius-md, 8px);
    font-size: 14px;
    font-weight: 500;
    color: var(--nexus-color-text-secondary, #6b7280);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.nexus-us-sidebar__link:hover {
    background: var(--nexus-color-background, #f5f5f5);
    color: var(--nexus-color-text-primary, #1a1a2e);
}

.nexus-us-sidebar__link--active {
    background: var(--nexus-color-accent, #0078d4);
    color: #fff !important;
}

.nexus-us-sidebar__link--active svg {
    color: #fff;
}

.nexus-us-sidebar__link svg {
    flex-shrink: 0;
}

/* ── SIDEBAR TOGGLE (Mobile) ────────────────────────────────── */

.nexus-us-sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 200;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--nexus-color-accent, #0078d4);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: center;
}

/* ── MAIN CONTENT ───────────────────────────────────────────── */

.nexus-us-main {
    flex: 1;
    padding: var(--nexus-spacing-xl, 32px);
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   WELCOME BANNER
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--nexus-spacing-md, 16px);
    background: var(--nexus-color-surface, #fff);
    border: 1px solid var(--nexus-color-border, #e5e7eb);
    border-radius: var(--nexus-radius-lg, 12px);
    padding: var(--nexus-spacing-lg, 24px);
    margin-bottom: var(--nexus-spacing-lg, 24px);
    box-shadow: var(--nexus-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
}

.nexus-us-welcome__left {
    display: flex;
    align-items: center;
    gap: var(--nexus-spacing-md, 16px);
}

.nexus-us-welcome__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--nexus-color-accent, #0078d4);
}

.nexus-us-welcome__title {
    font-family: var(--nexus-font-secondary, 'Segoe UI', sans-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--nexus-color-text-primary, #1a1a2e);
    margin: 0 0 4px;
    line-height: 1.3;
}

.nexus-us-welcome__subtitle {
    font-size: 14px;
    color: var(--nexus-color-text-secondary, #6b7280);
    margin: 0;
}

.nexus-us-welcome__actions {
    display: flex;
    gap: var(--nexus-spacing-sm, 12px);
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-page-header {
    margin-bottom: var(--nexus-spacing-lg, 24px);
}

.nexus-us-page-header__title {
    font-family: var(--nexus-font-secondary, 'Segoe UI', sans-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--nexus-color-text-primary, #1a1a2e);
    margin: 0 0 6px;
}

.nexus-us-page-header__subtitle {
    font-size: 14px;
    color: var(--nexus-color-text-secondary, #6b7280);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   CARD SYSTEM
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-card {
    background: var(--nexus-color-surface, #fff);
    border: 1px solid var(--nexus-color-border, #e5e7eb);
    border-radius: var(--nexus-radius-lg, 12px);
    padding: var(--nexus-spacing-lg, 24px);
    box-shadow: var(--nexus-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
    transition: box-shadow 0.2s, transform 0.2s;
}

.nexus-us-card:hover {
    box-shadow: var(--nexus-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
}

.nexus-us-card--danger {
    border-color: #fecaca;
}

.nexus-us-card--form {
    margin-top: var(--nexus-spacing-lg, 24px);
}

.nexus-us-card__header {
    display: flex;
    align-items: center;
    gap: var(--nexus-spacing-sm, 12px);
    margin-bottom: var(--nexus-spacing-md, 16px);
}

.nexus-us-card__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--nexus-radius-md, 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nexus-us-card__icon--accent {
    background: rgba(0, 120, 212, 0.1);
    color: var(--nexus-color-accent, #0078d4);
}

.nexus-us-card__icon--blue {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.nexus-us-card__icon--purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.nexus-us-card__icon--green {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
}

.nexus-us-card__icon--orange {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

.nexus-us-card__icon--red {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.nexus-us-card__icon--gray {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.nexus-us-card__title {
    font-family: var(--nexus-font-secondary, 'Segoe UI', sans-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--nexus-color-text-primary, #1a1a2e);
    margin: 0;
    flex: 1;
}

.nexus-us-card__count {
    font-size: 13px;
    font-weight: 600;
    color: var(--nexus-color-text-secondary, #6b7280);
    background: var(--nexus-color-background, #f5f5f5);
    padding: 2px 10px;
    border-radius: var(--nexus-radius-full, 999px);
}

.nexus-us-card__desc {
    font-size: 14px;
    color: var(--nexus-color-text-secondary, #6b7280);
    margin: 0 0 var(--nexus-spacing-md, 16px);
    line-height: 1.5;
}

.nexus-us-card__footer {
    margin-top: var(--nexus-spacing-md, 16px);
    padding-top: var(--nexus-spacing-md, 16px);
    border-top: 1px solid var(--nexus-color-border, #e5e7eb);
}

.nexus-us-card__close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--nexus-color-text-secondary, #6b7280);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.nexus-us-card__close:hover {
    color: var(--nexus-color-text-primary, #1a1a2e);
}

.nexus-us-card__notice {
    padding: 10px 14px;
    border-radius: var(--nexus-radius-md, 8px);
    font-size: 13px;
    margin-top: var(--nexus-spacing-sm, 12px);
}

.nexus-us-card__notice--info {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD GRID
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--nexus-spacing-lg, 24px);
}

.nexus-us-card--membership {
    border-left: 3px solid var(--nexus-color-accent, #0078d4);
}

.nexus-us-card--activity {
    margin-top: var(--nexus-spacing-lg, 24px);
}

/* ═══════════════════════════════════════════════════════════════
   INFO ROWS
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--nexus-color-border, #e5e7eb);
}

.nexus-us-info-row:last-child {
    border-bottom: none;
}

.nexus-us-info-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--nexus-color-text-secondary, #6b7280);
}

.nexus-us-info-value {
    font-size: 14px;
    color: var(--nexus-color-text-primary, #1a1a2e);
}

/* ═══════════════════════════════════════════════════════════════
   STATUS BADGES
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--nexus-radius-full, 999px);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.nexus-us-badge--accent {
    background: rgba(0, 120, 212, 0.12);
    color: var(--nexus-color-accent, #0078d4);
}

.nexus-us-badge--success {
    background: #dcfce7;
    color: #16a34a;
}

.nexus-us-badge--default {
    background: #f3f4f6;
    color: #6b7280;
}

.nexus-us-badge--pending {
    background: #fef3c7;
    color: #d97706;
}

.nexus-us-badge--publish {
    background: #dcfce7;
    color: #16a34a;
}

.nexus-us-badge--draft {
    background: #f3f4f6;
    color: #6b7280;
}

/* ═══════════════════════════════════════════════════════════════
   LIST ITEMS
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-list {
    display: flex;
    flex-direction: column;
}

.nexus-us-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--nexus-spacing-sm, 12px);
    padding: 10px 0;
    border-bottom: 1px solid var(--nexus-color-border, #e5e7eb);
}

.nexus-us-list__item:last-child {
    border-bottom: none;
}

.nexus-us-list__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.nexus-us-list__title {
    font-size: 14px;
    font-weight: 500;
    color: var(--nexus-color-text-primary, #1a1a2e);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nexus-us-list__meta {
    font-size: 12px;
    color: var(--nexus-color-text-secondary, #6b7280);
}

.nexus-us-empty {
    font-size: 14px;
    color: var(--nexus-color-text-secondary, #6b7280);
    text-align: center;
    padding: var(--nexus-spacing-md, 16px) 0;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--nexus-radius-md, 8px);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
    border: none;
    line-height: 1.4;
}

.nexus-us-btn:active {
    transform: scale(0.98);
}

.nexus-us-btn--primary {
    background: var(--nexus-color-accent, #0078d4);
    color: #fff;
}

.nexus-us-btn--primary:hover {
    background: var(--nexus-color-accent-hover, #005a9e);
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.25);
    color: #fff;
}

.nexus-us-btn--outline {
    background: transparent;
    color: var(--nexus-color-text-primary, #1a1a2e);
    border: 1px solid var(--nexus-color-border, #e5e7eb);
}

.nexus-us-btn--outline:hover {
    background: var(--nexus-color-background, #f5f5f5);
    border-color: var(--nexus-color-text-secondary, #6b7280);
    color: var(--nexus-color-text-primary, #1a1a2e);
}

.nexus-us-btn--danger {
    background: #dc2626;
    color: #fff;
}

.nexus-us-btn--danger:hover {
    background: #b91c1c;
}

.nexus-us-btn--sm {
    padding: 8px 14px;
    font-size: 13px;
}

.nexus-us-btn--xs {
    padding: 5px 10px;
    font-size: 12px;
}

.nexus-us-btn--full {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   QUICK ACTIONS
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--nexus-spacing-sm, 12px);
}

.nexus-us-quick-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--nexus-radius-md, 8px);
    border: 1px solid var(--nexus-color-border, #e5e7eb);
    background: var(--nexus-color-surface, #fff);
    color: var(--nexus-color-text-primary, #1a1a2e);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    cursor: pointer;
}

.nexus-us-quick-action:hover {
    border-color: var(--nexus-color-accent, #0078d4);
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.1);
    transform: translateY(-1px);
    color: var(--nexus-color-accent, #0078d4);
}

.nexus-us-quick-action svg {
    flex-shrink: 0;
    color: var(--nexus-color-text-secondary, #6b7280);
}

.nexus-us-quick-action:hover svg {
    color: var(--nexus-color-accent, #0078d4);
}

/* ═══════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-form-grid {
    display: grid;
    gap: var(--nexus-spacing-md, 16px);
}

.nexus-us-form-grid--2 {
    grid-template-columns: 1fr 1fr;
}

.nexus-us-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nexus-us-field--full {
    grid-column: 1 / -1;
}

.nexus-us-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--nexus-color-text-secondary, #6b7280);
}

.nexus-us-field input[type="text"],
.nexus-us-field input[type="email"],
.nexus-us-field input[type="password"],
.nexus-us-field input[type="tel"],
.nexus-us-field input[type="number"],
.nexus-us-field input[type="url"],
.nexus-us-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--nexus-color-border, #e5e7eb);
    border-radius: var(--nexus-radius-md, 8px);
    background: var(--nexus-color-surface, #fff);
    color: var(--nexus-color-text-primary, #1a1a2e);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.nexus-us-field input:focus,
.nexus-us-field textarea:focus {
    border-color: var(--nexus-color-accent, #0078d4);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.nexus-us-field textarea {
    min-height: 100px;
    resize: vertical;
}

.nexus-us-field__hint {
    font-size: 12px;
    color: var(--nexus-color-text-secondary, #6b7280);
}

.nexus-us-field--actions {
    padding-top: var(--nexus-spacing-sm, 12px);
}

.nexus-us-hidden-form {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.nexus-us-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ═══════════════════════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--nexus-color-border, #e5e7eb);
    margin-bottom: var(--nexus-spacing-lg, 24px);
    overflow-x: auto;
}

.nexus-us-tabs__btn {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 14px;
    font-weight: 500;
    color: var(--nexus-color-text-secondary, #6b7280);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}

.nexus-us-tabs__btn:hover {
    color: var(--nexus-color-text-primary, #1a1a2e);
}

.nexus-us-tabs__btn--active {
    color: var(--nexus-color-accent, #0078d4);
    border-bottom-color: var(--nexus-color-accent, #0078d4);
    font-weight: 600;
}

.nexus-us-tab-panel {
    display: none;
}

.nexus-us-tab-panel--active {
    display: block;
}

/* ═══════════════════════════════════════════════════════════════
   PROFILE HERO
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-profile-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--nexus-spacing-md, 16px);
    background: var(--nexus-color-surface, #fff);
    border: 1px solid var(--nexus-color-border, #e5e7eb);
    border-radius: var(--nexus-radius-lg, 12px);
    padding: var(--nexus-spacing-lg, 24px);
    margin-bottom: var(--nexus-spacing-lg, 24px);
    box-shadow: var(--nexus-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
}

.nexus-us-profile-hero__left {
    display: flex;
    align-items: center;
    gap: var(--nexus-spacing-lg, 24px);
}

.nexus-us-profile-hero__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.nexus-us-profile-hero__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--nexus-color-accent, #0078d4);
}

.nexus-us-profile-hero__avatar-edit {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--nexus-color-accent, #0078d4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid var(--nexus-color-surface, #fff);
    transition: background 0.15s;
}

.nexus-us-profile-hero__avatar-edit:hover {
    background: var(--nexus-color-accent-hover, #005a9e);
}

.nexus-us-profile-hero__name {
    font-family: var(--nexus-font-secondary, 'Segoe UI', sans-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--nexus-color-text-primary, #1a1a2e);
    margin: 0 0 4px;
}

.nexus-us-profile-hero__meta {
    font-size: 14px;
    color: var(--nexus-color-text-secondary, #6b7280);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nexus-us-separator {
    color: var(--nexus-color-border, #e5e7eb);
}

.nexus-us-profile-hero__badges {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.nexus-us-profile-hero__actions {
    display: flex;
    gap: var(--nexus-spacing-sm, 12px);
}

.nexus-us-profile-form__actions {
    display: flex;
    justify-content: flex-end;
    padding-top: var(--nexus-spacing-md, 16px);
}

.nexus-us-card--request {
    margin-top: var(--nexus-spacing-xl, 32px);
    border-left: 3px solid var(--nexus-color-accent, #0078d4);
}

/* ═══════════════════════════════════════════════════════════════
   SETTINGS GRID
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-settings-grid {
    display: grid;
    gap: var(--nexus-spacing-lg, 24px);
}

/* ═══════════════════════════════════════════════════════════════
   TOGGLE SWITCH
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-toggle-list {
    display: flex;
    flex-direction: column;
    gap: var(--nexus-spacing-md, 16px);
}

.nexus-us-toggle {
    display: flex;
    align-items: center;
    gap: var(--nexus-spacing-sm, 12px);
    cursor: pointer;
    padding: 8px 0;
}

.nexus-us-toggle input {
    display: none;
}

.nexus-us-toggle__slider {
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: #d1d5db;
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}

.nexus-us-toggle__slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.nexus-us-toggle input:checked+.nexus-us-toggle__slider {
    background: var(--nexus-color-accent, #0078d4);
}

.nexus-us-toggle input:checked+.nexus-us-toggle__slider::after {
    transform: translateX(18px);
}

.nexus-us-toggle__label {
    font-size: 14px;
    color: var(--nexus-color-text-primary, #1a1a2e);
}

/* ═══════════════════════════════════════════════════════════════
   MEMBERSHIP TIERS (preserved)
   ═══════════════════════════════════════════════════════════════ */

.nexus-us-tiers {
    max-width: var(--nexus-container-xl);
    margin: 0 auto;
    padding: var(--nexus-spacing-2xl) var(--nexus-spacing-md);
}

.nexus-us-tiers-header {
    text-align: center;
    margin-bottom: var(--nexus-spacing-2xl);
}

.nexus-us-tiers-title {
    font-family: var(--nexus-font-secondary);
    font-size: var(--nexus-font-size-2xl);
    font-weight: var(--nexus-font-weight-bold);
    color: var(--nexus-color-text-primary);
    margin: 0 0 var(--nexus-spacing-sm);
}

.nexus-us-tiers-subtitle {
    font-size: var(--nexus-font-size-md);
    color: var(--nexus-color-text-secondary);
    margin: 0;
}

.nexus-us-tiers-grid {
    align-items: stretch;
}

.nexus-us-tier-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform var(--nexus-transition-normal), box-shadow var(--nexus-transition-normal);
}

.nexus-us-tier-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nexus-shadow-lg);
}

.nexus-us-tier-card--popular {
    border-color: var(--nexus-color-accent);
    box-shadow: var(--nexus-shadow-md);
}

.nexus-us-tier-card--current {
    border-color: var(--nexus-color-success);
}

.nexus-us-tier-badge {
    position: absolute;
    top: calc(-1 * var(--nexus-spacing-sm));
    left: 50%;
    transform: translateX(-50%);
    background: var(--nexus-color-accent);
    color: var(--nexus-color-text-on-accent);
    font-size: var(--nexus-font-size-xs);
    font-weight: var(--nexus-font-weight-semibold);
    padding: var(--nexus-spacing-xxs) var(--nexus-spacing-md);
    border-radius: var(--nexus-radius-full);
    white-space: nowrap;
}

.nexus-us-tier-header {
    padding-bottom: var(--nexus-spacing-md);
    border-bottom: 1px solid var(--nexus-color-divider);
    margin-bottom: var(--nexus-spacing-md);
}

.nexus-us-tier-name {
    font-family: var(--nexus-font-secondary);
    font-size: var(--nexus-font-size-lg);
    font-weight: var(--nexus-font-weight-bold);
    color: var(--nexus-color-text-primary);
    margin: 0 0 var(--nexus-spacing-sm);
}

.nexus-us-tier-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--nexus-spacing-xxs);
    margin-bottom: var(--nexus-spacing-sm);
}

.nexus-us-tier-currency {
    font-size: var(--nexus-font-size-lg);
    font-weight: var(--nexus-font-weight-semibold);
    color: var(--nexus-color-text-primary);
}

.nexus-us-tier-amount {
    font-family: var(--nexus-font-secondary);
    font-size: var(--nexus-font-size-2xl);
    font-weight: var(--nexus-font-weight-bold);
    color: var(--nexus-color-text-primary);
}

.nexus-us-tier-period {
    font-size: var(--nexus-font-size-sm);
    color: var(--nexus-color-text-secondary);
}

.nexus-us-tier-desc {
    font-size: var(--nexus-font-size-sm);
    color: var(--nexus-color-text-secondary);
    margin: 0;
}

.nexus-us-tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--nexus-spacing-lg);
    text-align: left;
    flex: 1;
}

.nexus-us-tier-features li {
    display: flex;
    align-items: center;
    gap: var(--nexus-spacing-sm);
    padding: var(--nexus-spacing-sm) 0;
    font-size: var(--nexus-font-size-base);
    color: var(--nexus-color-text-primary);
    border-bottom: 1px solid var(--nexus-color-divider);
}

.nexus-us-tier-features li:last-child {
    border-bottom: none;
}

.nexus-us-tier-action {
    margin-top: auto;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — DASHBOARD / PROFILE / SETTINGS
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .nexus-us-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100vh;
        z-index: 999;
        transition: left 0.25s ease;
        box-shadow: none;
    }

    .nexus-us-sidebar.nexus-us-sidebar--open {
        left: 0;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    }

    .nexus-us-sidebar-toggle {
        display: flex;
    }

    .nexus-us-main {
        padding: var(--nexus-spacing-md, 16px);
    }

    .nexus-us-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .nexus-us-form-grid--2 {
        grid-template-columns: 1fr;
    }

    .nexus-us-quick-actions {
        grid-template-columns: 1fr;
    }

    .nexus-us-welcome {
        flex-direction: column;
        align-items: flex-start;
    }

    .nexus-us-profile-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .nexus-us-profile-hero__left {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nexus-us-auth-card {
        padding: var(--nexus-spacing-lg);
    }

    .nexus-us-tabs {
        gap: 0;
    }

    .nexus-us-tabs__btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    .nexus-us-tiers-grid {
        grid-template-columns: 1fr !important;
        max-width: var(--nexus-container-sm);
        margin-left: auto;
        margin-right: auto;
    }
}

/* Sidebar overlay for mobile */
.nexus-us-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
}

.nexus-us-sidebar-overlay--visible {
    display: block;
}

/* ═══════════════════════════════════════════════════════════════
   LOGIN PAGE – SPLIT SCREEN LAYOUT
   ═══════════════════════════════════════════════════════════════ */

.nexus-login-split {
    display: flex;
    min-height: 100vh;
    width: 100%;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── LEFT PANEL ──────────────────────────────────────────────── */

.nexus-login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0fe 0%, #f0f6ff 50%, #eef4fb 100%);
    padding: 40px 40px 60px;
    position: relative;
    overflow: hidden;
}

.nexus-login-left::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(0, 120, 212, 0.05);
    pointer-events: none;
}

/* ── SITE LOGO (centered, replaces lock icon) ────────────────── */

.nexus-login-icon-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.nexus-login-icon-logo img {
    width: 300px !important;
    height: 100px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 300px !important;
    max-height: 100px !important;
    object-fit: contain !important;
    border-radius: 12px;
    display: block !important;
}

.nexus-login-logo-text-center {
    font-size: 20px;
    font-weight: 700;
    color: #0078d4;
    letter-spacing: -0.3px;
}

/* ── LOGIN CARD ──────────────────────────────────────────────── */

.nexus-login-card {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.nexus-login-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
    line-height: 1.3;
}

.nexus-login-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 28px;
    line-height: 1.5;
}

/* ── FORM FIELDS ─────────────────────────────────────────────── */

.nexus-login-form {
    width: 100%;
    text-align: left;
}

.nexus-login-field-group {
    margin-bottom: 18px;
}

.nexus-login-field-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.nexus-login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.nexus-login-input-icon {
    position: absolute;
    left: 14px;
    display: flex;
    color: #9ca3af;
    pointer-events: none;
    z-index: 1;
}

.nexus-login-input-wrap input {
    width: 100% !important;
    height: 46px !important;
    padding: 0 14px 0 42px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    background: #fff !important;
    font-size: 14px !important;
    color: #1f2937 !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
}

.nexus-login-input-wrap input:focus {
    border-color: #0078d4 !important;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.12) !important;
}

.nexus-login-input-wrap input::placeholder {
    color: #9ca3af;
}

/* Password toggle */
.nexus-login-pw-toggle {
    position: absolute !important;
    right: 10px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #9ca3af !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    transition: color 0.15s !important;
    box-shadow: none !important;
    outline: none !important;
    width: auto !important;
    height: auto !important;
}

.nexus-login-pw-toggle:hover {
    color: #374151 !important;
    background: none !important;
}

/* ── META ROW (Remember + Forgot) ────────────────────────────── */

.nexus-login-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.nexus-login-terms-row {
    margin-bottom: 22px;
}

.nexus-login-terms-row .nexus-login-check span {
    font-size: 12px;
    line-height: 1.4;
}

.nexus-login-terms-row a {
    color: #0078d4;
    text-decoration: none;
}

.nexus-login-terms-row a:hover {
    text-decoration: underline;
}

.nexus-login-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
}

.nexus-login-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0078d4;
    cursor: pointer;
}

.nexus-login-forgot-link {
    font-size: 13px;
    font-weight: 600;
    color: #0078d4;
    text-decoration: none;
    transition: color 0.15s;
}

.nexus-login-forgot-link:hover {
    color: #005a9e;
    text-decoration: underline;
}

/* ── PRIMARY BUTTON ──────────────────────────────────────────── */

.nexus-login-btn-primary {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    background: #0078d4 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: background 0.2s, box-shadow 0.2s !important;
    letter-spacing: 0.2px !important;
    padding: 0 !important;
    line-height: 48px !important;
    text-align: center !important;
}

.nexus-login-btn-primary:hover {
    background: #005a9e !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(0, 120, 212, 0.3) !important;
}

.nexus-login-btn-primary:active {
    transform: scale(0.99);
}

/* reCAPTCHA container */
.nexus-login-recaptcha {
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
}

/* ── DIVIDER ─────────────────────────────────────────────────── */

.nexus-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}

.nexus-login-divider::before,
.nexus-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d1d5db;
}

.nexus-login-divider span {
    font-size: 13px;
    color: #9ca3af;
    white-space: nowrap;
}

/* ── SOCIAL BUTTONS ──────────────────────────────────────────── */

.nexus-login-social-row {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.nexus-login-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 48px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.nexus-login-social-btn:hover {
    border-color: #0078d4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* ── REGISTER LINK ───────────────────────────────────────────── */

.nexus-login-register-link {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-top: 24px;
}

.nexus-login-register-link a {
    color: #0078d4;
    font-weight: 600;
    text-decoration: none;
}

.nexus-login-register-link a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   RIGHT PANEL – IMAGE SLIDER
   ═══════════════════════════════════════════════════════════════ */

.nexus-login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #dbeafe 0%, #eff6ff 100%);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.nexus-login-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.nexus-login-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nexus-login-slide--active {
    opacity: 1;
}

.nexus-login-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nexus-login-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.nexus-login-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.nexus-login-dot--active {
    background: #0078d4;
    border-color: #0078d4;
    transform: scale(1.15);
}

/* Placeholder (no images uploaded) */

.nexus-login-right-placeholder {
    text-align: center;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nexus-login-right-placeholder .nexus-login-brand-img {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 200px !important;
    max-height: 200px !important;
    object-fit: contain !important;
    margin-bottom: 30px;
    border-radius: 16px;
    display: block !important;
}

.nexus-login-right-pattern {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.nexus-login-pattern-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 120, 212, 0.15);
}

.nexus-login-pattern-circle--lg {
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
}

.nexus-login-pattern-circle--md {
    width: 140px;
    height: 140px;
    top: 30px;
    left: 30px;
}

.nexus-login-pattern-circle--sm {
    width: 80px;
    height: 80px;
    top: 60px;
    left: 60px;
    background: rgba(0, 120, 212, 0.06);
}

.nexus-login-right-placeholder h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.nexus-login-right-placeholder p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FORGOT PASSWORD MODAL
   ═══════════════════════════════════════════════════════════════ */

.nexus-forgot-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nexus-forgot-modal[hidden] {
    display: none;
}

.nexus-forgot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

.nexus-forgot-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 1;
    max-height: 90vh;
    overflow-y: auto;
}

.nexus-forgot-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s;
}

.nexus-forgot-close:hover {
    color: #374151;
}

.nexus-forgot-dialog h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.nexus-forgot-dialog h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 14px;
}

.nexus-forgot-hint {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px;
}

.nexus-forgot-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 24px 0;
}

/* ── Alert boxes (shared) ────────────────────────────────────── */

.nexus-us-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.nexus-us-alert[data-kind="error"] {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.nexus-us-alert[data-kind="success"] {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.nexus-us-alert[data-kind="info"] {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

/* ═══════════════════════════════════════════════════════════════
   LOGIN PAGE – RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .nexus-login-split {
        flex-direction: column;
    }

    .nexus-login-right {
        min-height: 260px;
        order: -1;
    }

    .nexus-login-left {
        padding: 30px 24px 50px;
    }

    .nexus-login-logo {
        position: static;
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .nexus-login-card {
        max-width: 100%;
    }

    .nexus-login-social-btn {
        width: 56px;
        height: 42px;
    }

    .nexus-forgot-dialog {
        margin: 16px;
        padding: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   REGISTER PAGE – SPLIT LAYOUT
   ═══════════════════════════════════════════════════════════════ */

.nexus-register-split {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ── LEFT PANEL ──────────────────────────────────────────────── */

.nexus-register-left {
    flex: 1 1 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 50%, #dbeafe 100%);
}

.nexus-register-left::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(0, 120, 212, 0.06);
    pointer-events: none;
}

/* ── REGISTER CARD ───────────────────────────────────────────── */

.nexus-register-card {
    width: 100%;
    max-width: 440px;
}

.nexus-register-card[hidden] {
    display: none;
}

/* ── LOGO ────────────────────────────────────────────────────── */

.nexus-register-logo {
    margin-bottom: 24px;
}

.nexus-register-logo img {
    max-width: 200px !important;
    height: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
    display: block !important;
}

.nexus-register-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #0078d4;
    letter-spacing: -0.3px;
}

/* ── TITLE / SUBTITLE ────────────────────────────────────────── */

.nexus-register-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
    line-height: 1.3;
}

.nexus-register-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 24px;
    line-height: 1.5;
}

/* ── FORM ────────────────────────────────────────────────────── */

.nexus-register-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Two-column row */
.nexus-register-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .nexus-register-row-2col {
        grid-template-columns: 1fr;
    }
}

.nexus-register-field-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
}

.nexus-register-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.nexus-register-input-icon {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.nexus-register-input-wrap input {
    width: 100% !important;
    height: 46px !important;
    padding: 0 14px 0 42px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    background: #fff !important;
    font-size: 14px !important;
    color: #1f2937 !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
}

.nexus-register-input-wrap input:focus {
    border-color: #0078d4 !important;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.12) !important;
}

.nexus-register-input-wrap input::placeholder {
    color: #9ca3af;
}

/* Select dropdown (Designation) */
.nexus-register-input-wrap .nexus-register-select {
    width: 100% !important;
    height: 46px !important;
    padding: 0 14px 0 42px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    background: #fff !important;
    font-size: 14px !important;
    color: #1f2937 !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
}

.nexus-register-input-wrap .nexus-register-select:focus {
    border-color: #0078d4 !important;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.12) !important;
}

/* Password toggle */
.nexus-register-pw-toggle {
    position: absolute !important;
    right: 10px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #9ca3af !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important;
    outline: none !important;
    width: auto !important;
    height: auto !important;
}

.nexus-register-pw-toggle:hover {
    color: #374151 !important;
    background: none !important;
}

/* ── CV UPLOAD ───────────────────────────────────────────────── */

.nexus-register-cv-wrap {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fafbfc;
}

.nexus-register-cv-wrap:hover,
.nexus-register-cv-wrap.nexus-register-cv-wrap--dragover {
    border-color: #0078d4;
    background: #f0f7ff;
}

.nexus-register-cv-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.nexus-register-cv-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    color: #6b7280;
}

.nexus-register-cv-label svg {
    color: #0078d4;
}

.nexus-register-cv-label small {
    font-size: 11px;
    color: #9ca3af;
}

/* ── TERMS ───────────────────────────────────────────────────── */

.nexus-register-terms label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
}

.nexus-register-terms input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0078d4;
}

/* ── PRIMARY BUTTON ──────────────────────────────────────────── */

.nexus-register-btn-primary {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    background: #0078d4 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: background 0.2s, box-shadow 0.2s !important;
    letter-spacing: 0.2px !important;
    padding: 0 !important;
    line-height: 48px !important;
    text-align: center !important;
}

.nexus-register-btn-primary:hover {
    background: #005a9e !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(0, 120, 212, 0.3) !important;
}

/* ── DIVIDER ─────────────────────────────────────────────────── */

.nexus-register-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: #9ca3af;
    font-size: 13px;
}

.nexus-register-divider::before,
.nexus-register-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* ── SOCIAL BUTTONS ──────────────────────────────────────────── */

.nexus-register-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.nexus-register-social-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    background: #fff !important;
    color: #374151 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    flex: 1;
}

.nexus-register-social-btn:hover {
    border-color: #0078d4 !important;
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.1) !important;
    color: #374151 !important;
}

.nexus-register-social-note {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin: 8px 0 0;
    line-height: 1.4;
}

/* ── ALT LINK ────────────────────────────────────────────────── */

.nexus-register-alt-link {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    margin: 16px 0 0;
}

.nexus-register-alt-link a {
    color: #0078d4;
    font-weight: 600;
    text-decoration: none;
}

.nexus-register-alt-link a:hover {
    text-decoration: underline;
}

/* ── RIGHT PANEL ─────────────────────────────────────────────── */

.nexus-register-right {
    flex: 1 1 45%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #c3dafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slider */
.nexus-register-slider {
    position: absolute;
    inset: 0;
}

.nexus-register-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.nexus-register-slide--active {
    opacity: 1;
}

.nexus-register-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nexus-register-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.nexus-register-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
    background: transparent !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: background 0.2s !important;
}

.nexus-register-dot--active,
.nexus-register-dot:hover {
    background: #fff !important;
}

/* Placeholder */
.nexus-register-right-placeholder {
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nexus-register-right-placeholder .nexus-register-brand-img {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 200px !important;
    max-height: 200px !important;
    object-fit: contain !important;
    margin-bottom: 30px;
    border-radius: 16px;
    display: block !important;
}

.nexus-register-right-placeholder h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 6px;
}

.nexus-register-right-placeholder p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* ── REGISTER PAGE – RESPONSIVE ──────────────────────────────── */

@media (max-width: 900px) {
    .nexus-register-split {
        flex-direction: column;
    }

    .nexus-register-right {
        min-height: 260px;
        order: -1;
    }

    .nexus-register-left {
        padding: 30px 24px 50px;
    }
}

@media (max-width: 480px) {
    .nexus-register-card {
        max-width: 100%;
    }

    .nexus-register-social-btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}