/* =============================================
   NDE Eğitim - Ana Stil Dosyası
   Version: 1.0.0
   ============================================= */

/* --- CSS Variables --- */
:root {
    /* Renkler */
    --nde-primary: #1B3A5C;
    --nde-primary-light: #2A5A8C;
    --nde-primary-dark: #0F2440;
    --nde-secondary: #2C8C7B;
    --nde-secondary-light: #3AAF9B;
    --nde-accent: #D4A438;
    --nde-accent-light: #E8BE5A;
    --nde-success: #28A745;
    --nde-warning: #FFC107;
    --nde-danger: #DC3545;
    --nde-info: #17A2B8;

    /* Nötrler */
    --nde-white: #FFFFFF;
    --nde-gray-50: #F8F9FA;
    --nde-gray-100: #F1F3F5;
    --nde-gray-200: #E9ECEF;
    --nde-gray-300: #DEE2E6;
    --nde-gray-400: #CED4DA;
    --nde-gray-500: #ADB5BD;
    --nde-gray-600: #6C757D;
    --nde-gray-700: #495057;
    --nde-gray-800: #343A40;
    --nde-gray-900: #212529;

    /* Tipografi */
    --nde-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --nde-font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --nde-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Boyutlar */
    --nde-container-max: 1280px;
    --nde-container-narrow: 960px;
    --nde-radius-sm: 6px;
    --nde-radius-md: 10px;
    --nde-radius-lg: 16px;
    --nde-radius-xl: 24px;

    /* Gölgeler */
    --nde-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --nde-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --nde-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --nde-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* Geçişler */
    --nde-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nde-transition-fast: all 0.15s ease;
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--nde-font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--nde-gray-800);
    background-color: var(--nde-gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--nde-primary-light);
    text-decoration: none;
    transition: var(--nde-transition-fast);
}

a:hover {
    color: var(--nde-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--nde-font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--nde-gray-900);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* === LAYOUT === */
.nde-container {
    max-width: var(--nde-container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.nde-container--narrow {
    max-width: var(--nde-container-narrow);
}

.nde-section {
    padding: 5rem 0;
}

.nde-section--alt {
    background: var(--nde-white);
}

.nde-section__title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.25rem;
    color: var(--nde-primary);
}

.nde-section__subtitle {
    text-align: center;
    color: var(--nde-gray-600);
    font-size: 1.125rem;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.nde-grid {
    display: grid;
    gap: 2rem;
}

.nde-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nde-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nde-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* === HEADER === */
.nde-header {
    background: var(--nde-white);
    border-bottom: 1px solid var(--nde-gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--nde-transition);
}

.nde-header.scrolled {
    box-shadow: var(--nde-shadow-md);
}

.nde-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--nde-container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.nde-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nde-header__logo {
    height: 44px;
    width: auto;
}

.nde-header__title {
    font-family: var(--nde-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--nde-primary);
    line-height: 1.2;
}

.nde-header__title small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--nde-gray-500);
    letter-spacing: 0.5px;
}

/* Nav */
.nde-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nde-nav__list {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nde-nav__item {
    position: relative;
}

.nde-nav__link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--nde-gray-700);
    font-size: 0.938rem;
    font-weight: 500;
    border-radius: var(--nde-radius-sm);
    transition: var(--nde-transition-fast);
    white-space: nowrap;
}

.nde-nav__link:hover,
.nde-nav__link.active {
    color: var(--nde-primary);
    background: var(--nde-gray-100);
}

.nde-nav__link.active {
    font-weight: 600;
}

/* Dropdown */
.nde-nav__item:hover .nde-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nde-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--nde-white);
    border-radius: var(--nde-radius-md);
    box-shadow: var(--nde-shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--nde-transition);
    z-index: 100;
}

.nde-nav__dropdown a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--nde-gray-700);
    font-size: 0.875rem;
    border-radius: var(--nde-radius-sm);
}

.nde-nav__dropdown a:hover {
    background: var(--nde-gray-100);
    color: var(--nde-primary);
}

/* Header Actions */
.nde-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile Toggle */
.nde-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--nde-gray-700);
}

.nde-mobile-toggle svg {
    width: 24px;
    height: 24px;
}

/* === BUTTONS === */
.nde-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-family: var(--nde-font-primary);
    font-size: 0.938rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--nde-radius-sm);
    cursor: pointer;
    transition: var(--nde-transition);
    text-decoration: none;
    line-height: 1.5;
    white-space: nowrap;
}

.nde-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--nde-shadow-md);
}

.nde-btn:active {
    transform: translateY(0);
}

.nde-btn--primary {
    background: var(--nde-primary);
    color: var(--nde-white);
}

.nde-btn--primary:hover {
    background: var(--nde-primary-light);
    color: var(--nde-white);
}

.nde-btn--secondary {
    background: var(--nde-secondary);
    color: var(--nde-white);
}

.nde-btn--secondary:hover {
    background: var(--nde-secondary-light);
    color: var(--nde-white);
}

.nde-btn--accent {
    background: var(--nde-accent);
    color: var(--nde-white);
}

.nde-btn--outline {
    background: transparent;
    border-color: var(--nde-primary);
    color: var(--nde-primary);
}

.nde-btn--outline:hover {
    background: var(--nde-primary);
    color: var(--nde-white);
}

.nde-btn--ghost {
    background: transparent;
    color: var(--nde-primary);
    border: none;
    padding: 0.5rem 1rem;
}

.nde-btn--ghost:hover {
    background: var(--nde-gray-100);
    box-shadow: none;
}

.nde-btn--danger {
    background: #8B1A2B;
    color: var(--nde-white);
    border-color: #8B1A2B;
}

.nde-btn--danger:hover {
    background: #6D1422;
    color: var(--nde-white);
}

.nde-btn--sm {
    padding: 0.375rem 1rem;
    font-size: 0.813rem;
}

.nde-btn--lg {
    padding: 0.875rem 2rem;
    font-size: 1.063rem;
}

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

.nde-btn--icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

.nde-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* === HERO SECTION === */
.nde-hero {
    background: linear-gradient(135deg, var(--nde-primary-dark) 0%, var(--nde-primary) 50%, var(--nde-primary-light) 100%);
    color: var(--nde-white);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.nde-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/pattern-brain.svg') repeat;
    opacity: 0.04;
    pointer-events: none;
}

.nde-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--nde-gray-50);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.nde-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.nde-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nde-hero__badge svg {
    width: 16px;
    height: 16px;
}

.nde-hero__title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--nde-white);
    margin-bottom: 1.5rem;
}

.nde-hero__title span {
    color: var(--nde-accent-light);
}

.nde-hero__desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.nde-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nde-hero__stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.nde-hero__stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    font-family: var(--nde-font-heading);
}

.nde-hero__stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.nde-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nde-hero__image {
    width: 100%;
    max-width: 480px;
    border-radius: var(--nde-radius-xl);
    box-shadow: var(--nde-shadow-xl);
}

/* === CARDS === */
.nde-card {
    background: var(--nde-white);
    border-radius: var(--nde-radius-lg);
    overflow: hidden;
    transition: var(--nde-transition);
    border: 1px solid var(--nde-gray-200);
}

.nde-card:hover {
    box-shadow: var(--nde-shadow-lg);
    transform: translateY(-4px);
    border-color: var(--nde-gray-300);
}

.nde-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.nde-card__body {
    padding: 1.5rem;
}

.nde-card__tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--nde-gray-100);
    color: var(--nde-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nde-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--nde-gray-900);
}

.nde-card__title a {
    color: inherit;
}

.nde-card__title a:hover {
    color: var(--nde-primary);
}

.nde-card__text {
    color: var(--nde-gray-600);
    font-size: 0.938rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.nde-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--nde-gray-200);
    font-size: 0.813rem;
    color: var(--nde-gray-500);
}

.nde-card__meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nde-card__meta-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.nde-card__footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--nde-gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Feature Card */
.nde-feature-card {
    background: var(--nde-white);
    border-radius: var(--nde-radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--nde-gray-200);
    transition: var(--nde-transition);
}

.nde-feature-card:hover {
    border-color: var(--nde-primary);
    box-shadow: var(--nde-shadow-lg);
    transform: translateY(-4px);
}

.nde-feature-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--nde-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
}

.nde-feature-card__icon--primary {
    background: rgba(27, 58, 92, 0.08);
    color: var(--nde-primary);
}

.nde-feature-card__icon--secondary {
    background: rgba(44, 140, 123, 0.08);
    color: var(--nde-secondary);
}

.nde-feature-card__icon--accent {
    background: rgba(212, 164, 56, 0.08);
    color: var(--nde-accent);
}

.nde-feature-card__icon--danger {
    background: rgba(220, 53, 69, 0.08);
    color: var(--nde-danger);
}

.nde-feature-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.nde-feature-card__text {
    color: var(--nde-gray-600);
    font-size: 0.938rem;
    line-height: 1.6;
}

/* === COURSE CARD === */
.nde-course-card {
    background: var(--nde-white);
    border-radius: var(--nde-radius-lg);
    overflow: hidden;
    border: 1px solid var(--nde-gray-200);
    transition: var(--nde-transition);
}

.nde-course-card:hover {
    box-shadow: var(--nde-shadow-lg);
    transform: translateY(-4px);
}

.nde-course-card__header {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--nde-primary) 0%, var(--nde-primary-light) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.nde-course-card__header img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nde-course-card__status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.nde-course-card__status--open {
    background: var(--nde-success);
    color: var(--nde-white);
}

.nde-course-card__status--closed {
    background: var(--nde-danger);
    color: var(--nde-white);
}

.nde-course-card__status--soon {
    background: var(--nde-warning);
    color: var(--nde-gray-900);
}

.nde-course-card__body {
    padding: 1.5rem;
}

.nde-course-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--nde-secondary);
    margin-bottom: 0.5rem;
}

.nde-course-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.nde-course-card__desc {
    color: var(--nde-gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.nde-course-card__info {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.813rem;
    color: var(--nde-gray-500);
    margin-bottom: 1.25rem;
}

.nde-course-card__info-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nde-course-card__info-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.nde-course-card__progress {
    margin-bottom: 1rem;
}

.nde-course-card__progress-bar {
    height: 6px;
    background: var(--nde-gray-200);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.nde-course-card__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--nde-secondary), var(--nde-secondary-light));
    border-radius: 3px;
    transition: width 0.6s ease;
}

.nde-course-card__progress-text {
    font-size: 0.75rem;
    color: var(--nde-gray-500);
    text-align: right;
}

.nde-course-card__footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--nde-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === DASHBOARD === */
.nde-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 72px);
}

/* Sidebar */
.nde-sidebar {
    background: var(--nde-white);
    border-right: 1px solid var(--nde-gray-200);
    padding: 2rem 0;
    position: sticky;
    top: 72px;
    height: calc(100vh - 72px);
    overflow-y: auto;
}

.nde-sidebar__section {
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.nde-sidebar__label {
    font-size: 0.688rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nde-gray-400);
    padding: 0 0.75rem;
    margin-bottom: 0.5rem;
}

.nde-sidebar__nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nde-sidebar__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    color: var(--nde-gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--nde-radius-sm);
    transition: var(--nde-transition-fast);
}

.nde-sidebar__link:hover {
    background: var(--nde-gray-100);
    color: var(--nde-primary);
}

.nde-sidebar__link.active {
    background: rgba(27, 58, 92, 0.08);
    color: var(--nde-primary);
    font-weight: 600;
}

.nde-sidebar__link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.65;
}

.nde-sidebar__link.active svg {
    opacity: 1;
}

.nde-sidebar__badge {
    margin-left: auto;
    background: var(--nde-danger);
    color: var(--nde-white);
    font-size: 0.688rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    min-width: 20px;
    text-align: center;
}

/* Dashboard Content */
.nde-dashboard__content {
    padding: 2rem 2.5rem;
    background: var(--nde-gray-50);
}

.nde-dashboard__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.nde-dashboard__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nde-gray-900);
}

.nde-dashboard__breadcrumb {
    font-size: 0.813rem;
    color: var(--nde-gray-500);
    margin-top: 0.25rem;
}

.nde-dashboard__breadcrumb a {
    color: var(--nde-gray-500);
}

.nde-dashboard__breadcrumb a:hover {
    color: var(--nde-primary);
}

/* Stat Cards */
.nde-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.nde-stat-card {
    background: var(--nde-white);
    border-radius: var(--nde-radius-md);
    padding: 1.5rem;
    border: 1px solid var(--nde-gray-200);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.nde-stat-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--nde-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.nde-stat-card__value {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--nde-font-heading);
    line-height: 1.2;
    color: var(--nde-gray-900);
}

.nde-stat-card__label {
    font-size: 0.813rem;
    color: var(--nde-gray-500);
    margin-top: 0.15rem;
}

/* === STATUS BADGES === */
.nde-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.nde-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.nde-status--pending {
    background: rgba(255, 193, 7, 0.12);
    color: #B58A00;
}

.nde-status--pending::before {
    background: #FFC107;
}

.nde-status--review {
    background: rgba(23, 162, 184, 0.12);
    color: #0F7B8A;
}

.nde-status--review::before {
    background: #17A2B8;
}

.nde-status--accepted {
    background: rgba(40, 167, 69, 0.12);
    color: #1B7A35;
}

.nde-status--accepted::before {
    background: #28A745;
}

.nde-status--rejected {
    background: rgba(220, 53, 69, 0.12);
    color: #B02A37;
}

.nde-status--rejected::before {
    background: #DC3545;
}

.nde-status--completed {
    background: rgba(27, 58, 92, 0.12);
    color: var(--nde-primary);
}

.nde-status--completed::before {
    background: var(--nde-primary);
}

.nde-status--active {
    background: rgba(44, 140, 123, 0.12);
    color: #1B6B5E;
}

.nde-status--active::before {
    background: var(--nde-secondary);
}

/* === FORMS === */
.nde-form-group {
    margin-bottom: 1.5rem;
}

.nde-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--nde-gray-700);
    margin-bottom: 0.5rem;
}

.nde-form-label .required {
    color: var(--nde-danger);
    margin-left: 2px;
}

.nde-form-input,
.nde-form-select,
.nde-form-textarea {
    width: 100%;
    padding: 0.65rem 1rem;
    font-family: var(--nde-font-primary);
    font-size: 0.938rem;
    color: var(--nde-gray-800);
    background: var(--nde-white);
    border: 1.5px solid var(--nde-gray-300);
    border-radius: var(--nde-radius-sm);
    transition: var(--nde-transition-fast);
    outline: none;
}

.nde-form-input:focus,
.nde-form-select:focus,
.nde-form-textarea:focus {
    border-color: var(--nde-primary);
    box-shadow: 0 0 0 3px rgba(27, 58, 92, 0.1);
}

.nde-form-input::placeholder {
    color: var(--nde-gray-400);
}

.nde-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.nde-form-help {
    font-size: 0.813rem;
    color: var(--nde-gray-500);
    margin-top: 0.35rem;
}

.nde-form-error {
    font-size: 0.813rem;
    color: var(--nde-danger);
    margin-top: 0.35rem;
}

.nde-form-input.error {
    border-color: var(--nde-danger);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Checkbox & Radio */
.nde-form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.nde-form-check input {
    margin-top: 0.25rem;
    accent-color: var(--nde-primary);
}

/* File Upload */
.nde-file-upload {
    border: 2px dashed var(--nde-gray-300);
    border-radius: var(--nde-radius-md);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--nde-transition-fast);
}

.nde-file-upload:hover {
    border-color: var(--nde-primary);
    background: rgba(27, 58, 92, 0.02);
}

.nde-file-upload__icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.4;
}

.nde-file-upload__text {
    color: var(--nde-gray-600);
    font-size: 0.875rem;
}

.nde-file-upload__text strong {
    color: var(--nde-primary);
}

/* === TABLES === */
.nde-table-wrap {
    background: var(--nde-white);
    border-radius: var(--nde-radius-md);
    border: 1px solid var(--nde-gray-200);
    overflow: hidden;
}

.nde-table {
    width: 100%;
    border-collapse: collapse;
}

.nde-table th {
    background: var(--nde-gray-50);
    padding: 0.875rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--nde-gray-500);
    text-align: left;
    border-bottom: 1px solid var(--nde-gray-200);
}

.nde-table td {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    color: var(--nde-gray-700);
    border-bottom: 1px solid var(--nde-gray-100);
}

.nde-table tr:last-child td {
    border-bottom: none;
}

.nde-table tr:hover td {
    background: var(--nde-gray-50);
}

/* === ALERTS === */
.nde-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--nde-radius-md);
    border-left: 4px solid;
    margin-bottom: 1.5rem;
    font-size: 0.938rem;
}

.nde-alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.nde-alert--info {
    background: rgba(23, 162, 184, 0.08);
    border-color: var(--nde-info);
    color: #0C5A66;
}

.nde-alert--success {
    background: rgba(40, 167, 69, 0.08);
    border-color: var(--nde-success);
    color: #14532D;
}

.nde-alert--warning {
    background: rgba(255, 193, 7, 0.08);
    border-color: var(--nde-warning);
    color: #7A4E00;
}

.nde-alert--danger {
    background: rgba(220, 53, 69, 0.08);
    border-color: var(--nde-danger);
    color: #7A1A25;
}

/* === TABS === */
.nde-tabs {
    margin-bottom: 2rem;
}

.nde-tabs__nav {
    display: flex;
    border-bottom: 2px solid var(--nde-gray-200);
    gap: 0;
    overflow-x: auto;
}

.nde-tabs__btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--nde-gray-500);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--nde-transition-fast);
}

.nde-tabs__btn:hover {
    color: var(--nde-primary);
}

.nde-tabs__btn.active {
    color: var(--nde-primary);
    border-bottom-color: var(--nde-primary);
}

.nde-tabs__panel {
    display: none;
    padding: 1.5rem 0;
}

.nde-tabs__panel.active {
    display: block;
}

/* === MATERIALS LIST === */
.nde-material {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--nde-white);
    border: 1px solid var(--nde-gray-200);
    border-radius: var(--nde-radius-md);
    transition: var(--nde-transition-fast);
    margin-bottom: 0.75rem;
}

.nde-material:hover {
    border-color: var(--nde-primary);
    box-shadow: var(--nde-shadow-sm);
}

.nde-material__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--nde-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.nde-material__icon--pdf {
    background: rgba(220, 53, 69, 0.1);
    color: var(--nde-danger);
}

.nde-material__icon--video {
    background: rgba(27, 58, 92, 0.1);
    color: var(--nde-primary);
}

.nde-material__icon--doc {
    background: rgba(44, 140, 123, 0.1);
    color: var(--nde-secondary);
}

.nde-material__icon--quiz {
    background: rgba(212, 164, 56, 0.1);
    color: var(--nde-accent);
}

.nde-material__info {
    flex: 1;
    min-width: 0;
}

.nde-material__title {
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--nde-gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nde-material__meta {
    font-size: 0.75rem;
    color: var(--nde-gray-500);
}

.nde-material__new {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: var(--nde-danger);
    color: var(--nde-white);
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.nde-material__action {
    flex-shrink: 0;
}

/* === VIDEO PLAYER === */
.nde-video-container {
    position: relative;
    background: var(--nde-gray-900);
    border-radius: var(--nde-radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.nde-video-container video,
.nde-video-container iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* === QUIZ / TEST === */
.nde-quiz {
    background: var(--nde-white);
    border-radius: var(--nde-radius-lg);
    border: 1px solid var(--nde-gray-200);
    padding: 2rem;
}

.nde-quiz__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--nde-gray-200);
}

.nde-quiz__progress {
    font-size: 0.813rem;
    color: var(--nde-gray-500);
}

.nde-quiz__timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--nde-primary);
    font-size: 1rem;
    font-family: var(--nde-font-mono);
}

.nde-quiz__timer.warning {
    color: var(--nde-danger);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.nde-quiz__question {
    margin-bottom: 2rem;
}

.nde-quiz__question-text {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--nde-gray-800);
}

.nde-quiz__option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--nde-gray-200);
    border-radius: var(--nde-radius-sm);
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: var(--nde-transition-fast);
}

.nde-quiz__option:hover {
    border-color: var(--nde-primary);
    background: rgba(27, 58, 92, 0.02);
}

.nde-quiz__option.selected {
    border-color: var(--nde-primary);
    background: rgba(27, 58, 92, 0.06);
}

.nde-quiz__option.correct {
    border-color: var(--nde-success);
    background: rgba(40, 167, 69, 0.06);
}

.nde-quiz__option.incorrect {
    border-color: var(--nde-danger);
    background: rgba(220, 53, 69, 0.06);
}

.nde-quiz__option-marker {
    width: 24px;
    height: 24px;
    border: 2px solid var(--nde-gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: var(--nde-transition-fast);
}

.nde-quiz__option.selected .nde-quiz__option-marker {
    border-color: var(--nde-primary);
    background: var(--nde-primary);
    color: var(--nde-white);
}

.nde-quiz__actions {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--nde-gray-200);
}

/* Quiz Results */
.nde-quiz-result {
    text-align: center;
    padding: 3rem 2rem;
}

.nde-quiz-result__score {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--nde-font-heading);
    margin: 0 auto 1.5rem;
}

.nde-quiz-result__score--pass {
    background: rgba(40, 167, 69, 0.1);
    color: var(--nde-success);
    border: 3px solid var(--nde-success);
}

.nde-quiz-result__score--fail {
    background: rgba(220, 53, 69, 0.1);
    color: var(--nde-danger);
    border: 3px solid var(--nde-danger);
}

/* === LOGIN / AUTH === */
.nde-auth {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--nde-gray-50);
}

.nde-auth__card {
    background: var(--nde-white);
    border-radius: var(--nde-radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--nde-shadow-lg);
}

.nde-auth__logo {
    text-align: center;
    margin-bottom: 2rem;
}

.nde-auth__logo img {
    height: 48px;
    margin: 0 auto 1rem;
}

.nde-auth__logo h2 {
    font-size: 1.25rem;
    color: var(--nde-primary);
}

.nde-auth__logo p {
    color: var(--nde-gray-500);
    font-size: 0.875rem;
}

.nde-auth__divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--nde-gray-400);
    font-size: 0.813rem;
}

.nde-auth__divider::before,
.nde-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--nde-gray-200);
}

.nde-auth__divider::before {
    margin-right: 1rem;
}

.nde-auth__divider::after {
    margin-left: 1rem;
}

.nde-auth__footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--nde-gray-600);
}

/* === NOTIFICATIONS === */
.nde-notification {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--nde-radius-md);
    border-left: 3px solid var(--nde-primary);
    background: var(--nde-white);
    margin-bottom: 0.75rem;
    transition: var(--nde-transition-fast);
}

.nde-notification.unread {
    background: rgba(27, 58, 92, 0.03);
}

.nde-notification__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.nde-notification__content {
    flex: 1;
}

.nde-notification__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--nde-gray-800);
}

.nde-notification__text {
    font-size: 0.813rem;
    color: var(--nde-gray-600);
    margin-top: 0.15rem;
}

.nde-notification__time {
    font-size: 0.75rem;
    color: var(--nde-gray-400);
    margin-top: 0.35rem;
}

/* === PAGINATION === */
.nde-pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 2rem;
}

.nde-pagination a,
.nde-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--nde-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nde-gray-600);
    border: 1px solid var(--nde-gray-200);
    transition: var(--nde-transition-fast);
}

.nde-pagination a:hover {
    background: var(--nde-gray-100);
    border-color: var(--nde-gray-300);
}

.nde-pagination .current {
    background: var(--nde-primary);
    color: var(--nde-white);
    border-color: var(--nde-primary);
}

/* === FOOTER === */
.nde-footer {
    background: var(--nde-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

.nde-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.nde-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.nde-footer__brand img {
    height: 40px;
}

.nde-footer__brand span {
    font-family: var(--nde-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--nde-white);
}

.nde-footer__desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.nde-footer__social {
    display: flex;
    gap: 0.75rem;
}

.nde-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--nde-transition-fast);
}

.nde-footer__social a:hover {
    background: var(--nde-accent);
    color: var(--nde-white);
}

.nde-footer__title {
    font-family: var(--nde-font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--nde-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.nde-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nde-footer__links li {
    margin-bottom: 0.6rem;
}

.nde-footer__links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: var(--nde-transition-fast);
}

.nde-footer__links a:hover {
    color: var(--nde-white);
    padding-left: 4px;
}

.nde-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.4);
}

/* === EMPTY STATE === */
.nde-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.nde-empty__icon {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.nde-empty__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nde-gray-600);
    margin-bottom: 0.5rem;
}

.nde-empty__text {
    color: var(--nde-gray-500);
    font-size: 0.875rem;
    max-width: 400px;
    margin: 0 auto 1.5rem;
}

/* === MODAL === */
.nde-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--nde-transition);
}

.nde-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nde-modal {
    background: var(--nde-white);
    border-radius: var(--nde-radius-lg);
    width: 90%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--nde-shadow-xl);
    transform: scale(0.95);
    transition: var(--nde-transition);
}

.nde-modal-overlay.active .nde-modal {
    transform: scale(1);
}

.nde-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--nde-gray-200);
}

.nde-modal__title {
    font-size: 1.125rem;
    font-weight: 700;
}

.nde-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--nde-gray-500);
    border-radius: var(--nde-radius-sm);
    transition: var(--nde-transition-fast);
}

.nde-modal__close:hover {
    background: var(--nde-gray-100);
    color: var(--nde-gray-800);
}

.nde-modal__body {
    padding: 1.5rem;
}

.nde-modal__footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--nde-gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* === LOADING === */
.nde-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--nde-gray-200);
    border-top-color: var(--nde-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.nde-skeleton {
    background: linear-gradient(90deg, var(--nde-gray-200) 25%, var(--nde-gray-100) 50%, var(--nde-gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--nde-radius-sm);
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* === TOAST NOTIFICATIONS === */
.nde-toast-container {
    position: fixed;
    top: 84px;
    right: 2rem;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nde-toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--nde-white);
    border-radius: var(--nde-radius-md);
    box-shadow: var(--nde-shadow-lg);
    border-left: 4px solid;
    min-width: 300px;
    max-width: 420px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.nde-toast--success { border-color: var(--nde-success); }
.nde-toast--error { border-color: var(--nde-danger); }
.nde-toast--info { border-color: var(--nde-info); }
.nde-toast--warning { border-color: var(--nde-warning); }

/* === CONTENT AREA === */
.nde-content {
    max-width: var(--nde-container-narrow);
    margin: 0 auto;
    padding: 3rem 2rem;
}

.nde-content h1 { margin-bottom: 1rem; }
.nde-content h2 { margin-top: 2rem; }
.nde-content h3 { margin-top: 1.5rem; }

.nde-content p {
    color: var(--nde-gray-700);
    line-height: 1.8;
}

.nde-content ul,
.nde-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--nde-gray-700);
}

.nde-content li {
    margin-bottom: 0.35rem;
    line-height: 1.7;
}

.nde-content blockquote {
    border-left: 4px solid var(--nde-accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--nde-gray-50);
    border-radius: 0 var(--nde-radius-sm) var(--nde-radius-sm) 0;
    color: var(--nde-gray-700);
    font-style: italic;
}

.nde-content img {
    border-radius: var(--nde-radius-md);
    margin: 1.5rem 0;
}

.nde-content code {
    background: var(--nde-gray-100);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-family: var(--nde-font-mono);
    font-size: 0.875em;
    color: var(--nde-primary);
}

.nde-content pre {
    background: var(--nde-gray-900);
    color: var(--nde-gray-200);
    padding: 1.5rem;
    border-radius: var(--nde-radius-md);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.nde-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* === BREADCRUMB === */
.nde-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.813rem;
    color: var(--nde-gray-500);
    padding: 1rem 0;
    flex-wrap: wrap;
}

.nde-breadcrumb a {
    color: var(--nde-gray-500);
}

.nde-breadcrumb a:hover {
    color: var(--nde-primary);
}

.nde-breadcrumb__sep {
    opacity: 0.4;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .nde-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .nde-stats { grid-template-columns: repeat(2, 1fr); }
    .nde-footer__grid { grid-template-columns: 1fr 1fr; }
    .nde-hero__inner { grid-template-columns: 1fr; }
    .nde-hero__visual { display: none; }

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

    .nde-sidebar {
        position: fixed;
        left: -300px;
        top: 72px;
        width: 280px;
        height: calc(100vh - 72px);
        z-index: 999;
        transition: var(--nde-transition);
    }

    .nde-sidebar.open {
        left: 0;
        box-shadow: var(--nde-shadow-xl);
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.625rem; }

    .nde-container { padding: 0 1.25rem; }
    .nde-section { padding: 3rem 0; }

    .nde-header__inner { height: 60px; }
    .nde-header__title { font-size: 1rem; }

    .nde-mobile-toggle { display: block; }

    .nde-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--nde-white);
        border-bottom: 1px solid var(--nde-gray-200);
        padding: 1rem;
        box-shadow: var(--nde-shadow-lg);
        display: none;
        z-index: 998;
    }

    .nde-nav.open {
        display: block;
    }

    .nde-nav__list {
        flex-direction: column;
    }

    .nde-nav__link {
        padding: 0.75rem;
    }

    .nde-nav__dropdown {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 1rem;
    }

    .nde-grid--2,
    .nde-grid--3 {
        grid-template-columns: 1fr;
    }

    .nde-hero {
        padding: 3rem 0 4rem;
    }

    .nde-hero__title {
        font-size: 2.25rem;
    }

    .nde-hero__stats {
        gap: 1.5rem;
    }

    .nde-hero__stat-number {
        font-size: 1.5rem;
    }

    .nde-hero__actions {
        flex-direction: column;
    }

    .nde-stats { grid-template-columns: 1fr; }

    .nde-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nde-footer__bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .nde-dashboard__content {
        padding: 1.25rem;
    }

    .nde-table-wrap {
        overflow-x: auto;
    }

    .nde-quiz__actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .nde-quiz__actions .nde-btn {
        width: 100%;
    }

    .nde-auth__card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nde-header__logo { height: 32px; }

    .nde-hero__stats {
        flex-direction: column;
        gap: 1rem;
    }

    .nde-stat-card {
        flex-direction: column;
        text-align: center;
    }
}

/* === UTILITY CLASSES === */
.nde-text-center { text-align: center; }
.nde-text-left { text-align: left; }
.nde-text-right { text-align: right; }
.nde-text-muted { color: var(--nde-gray-500); }
.nde-text-sm { font-size: 0.875rem; }
.nde-text-xs { font-size: 0.75rem; }
.nde-text-primary { color: var(--nde-primary); }
.nde-text-success { color: var(--nde-success); }
.nde-text-danger { color: var(--nde-danger); }
.nde-font-bold { font-weight: 700; }
.nde-mt-0 { margin-top: 0; }
.nde-mt-1 { margin-top: 0.5rem; }
.nde-mt-2 { margin-top: 1rem; }
.nde-mt-3 { margin-top: 1.5rem; }
.nde-mt-4 { margin-top: 2rem; }
.nde-mb-0 { margin-bottom: 0; }
.nde-mb-1 { margin-bottom: 0.5rem; }
.nde-mb-2 { margin-bottom: 1rem; }
.nde-mb-3 { margin-bottom: 1.5rem; }
.nde-mb-4 { margin-bottom: 2rem; }
.nde-p-0 { padding: 0; }
.nde-p-1 { padding: 0.5rem; }
.nde-p-2 { padding: 1rem; }
.nde-p-3 { padding: 1.5rem; }
.nde-p-4 { padding: 2rem; }
.nde-d-flex { display: flex; }
.nde-align-center { align-items: center; }
.nde-justify-between { justify-content: space-between; }
.nde-gap-1 { gap: 0.5rem; }
.nde-gap-2 { gap: 1rem; }
.nde-gap-3 { gap: 1.5rem; }
.nde-w-100 { width: 100%; }
.nde-rounded { border-radius: var(--nde-radius-md); }
.nde-shadow { box-shadow: var(--nde-shadow-md); }
.nde-hidden { display: none; }
.nde-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* === PRINT === */
@media print {
    .nde-header,
    .nde-sidebar,
    .nde-footer,
    .nde-btn,
    .nde-mobile-toggle {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

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

    .nde-dashboard__content {
        padding: 0;
    }
}

/* === WordPress Specific === */
.wp-block-image { margin: 1.5rem 0; }
.wp-block-image img { border-radius: var(--nde-radius-md); }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.813rem; color: var(--nde-gray-500); margin-top: 0.5rem; text-align: center; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.gallery-item { margin: 0; }
.gallery-item img { border-radius: var(--nde-radius-sm); }
