.ez-auth-container {
    max-width: 450px;
    margin: 60px auto;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.ez-auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: #f8fafc;
    padding: 4px;
    border-radius: 10px;
}

.ez-auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    border-radius: 8px;
    color: #64748b;
    transition: all 0.2s;
}

.ez-auth-tab.active {
    background: #fff;
    color: #6366f1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.ez-auth-form {
    display: none;
}

.ez-auth-form.active {
    display: block;
}

.ez-auth-form h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.ez-auth-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.ez-auth-form input[type="text"],
.ez-auth-form input[type="email"],
.ez-auth-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Dashboard */
.ez-student-dashboard {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.ez-dashboard-header {
    margin-bottom: 40px;
}

.ez-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.ez-course-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s;
}

.ez-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.ez-course-thumb {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.ez-course-body {
    padding: 24px;
}

.ez-course-body h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 700;
}

.ez-card-progress {
    margin-top: 20px;
}

.ez-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 8px;
    color: #64748b;
    font-weight: 500;
}

/* Auth Form Buttons */
.ez-auth-form input[type="submit"],
.ez-auth-form .button,
.ez-auth-form .button-primary {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px -3px rgba(99, 102, 241, 0.4);
    margin-top: 10px;
}

.ez-auth-form input[type="submit"]:hover,
.ez-auth-form .button:hover,
.ez-auth-form .button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -3px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #5558e8 0%, #7c4deb 100%);
}

.ez-auth-form input[type="submit"]:active,
.ez-auth-form .button:active {
    transform: translateY(0);
}

/* Checkbox "Se souvenir de moi" */
.ez-auth-form .forgetmenot,
.ez-auth-form p.forgetmenot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    cursor: pointer;
}

.ez-auth-form input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.ez-auth-form input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: #6366f1;
}

.ez-auth-form input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ez-auth-form input[type="checkbox"]:hover {
    border-color: #6366f1;
}

.ez-auth-form .forgetmenot label {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
}

/* Login form specific overrides */
.ez-auth-form .login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.ez-auth-form .login-submit {
    margin-top: 10px;
}

/* Dashboard Sections */
.ez-dashboard-section {
    margin-top: 40px;
}

.ez-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.ez-section-subtitle {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 15px;
}

/* Course Badges */
.ez-course-badge-row {
    margin-bottom: 10px;
}

.ez-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ez-badge-free {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.ez-badge-paid {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
}

/* Course Price Tag */
.ez-course-price-tag {
    margin-bottom: 12px;
}

.ez-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #6366f1;
}

/* Course Excerpt */
.ez-course-excerpt {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 8px;
}

/* Buttons */
.ez-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.ez-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 4px 14px -3px rgba(99, 102, 241, 0.4);
}

.ez-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -3px rgba(99, 102, 241, 0.5);
    color: #fff;
}

.ez-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.ez-btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #334155;
}

.ez-btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 14px -3px rgba(16, 185, 129, 0.4);
}

.ez-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -3px rgba(16, 185, 129, 0.5);
    color: #fff;
}

.ez-btn-block {
    display: flex;
    width: auto;
    justify-content: center;
    margin-top: 15px;
}

/* Available Course Card */
.ez-course-card-available {
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.ez-course-card-available:hover {
    border-color: #6366f1;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.15);
}

/* Progress Bar */
.ez-progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.ez-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* Empty State */
.ez-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
}

.ez-empty-state h3 {
    margin-top: 20px;
    color: #475569;
}

.ez-empty-state p {
    color: #94a3b8;
}

/* Landing Page & Course Template Updates */
.ez-course-page .ez-course-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 80px 0 120px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ez-course-page .ez-course-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.ez-course-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.ez-course-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 1.1rem;
    opacity: 0.9;
}

.ez-hero-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.ez-hero-text {
    flex: 1;
}

.ez-hero-image img {
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 450px;
}

.ez-back-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 30px;
    font-weight: 500;
    transition: color 0.2s;
}

.ez-back-link:hover {
    color: #fff;
}

/* Sticky Sidecards */
.ez-sticky {
    position: sticky;
    top: 100px;
    z-index: 50;
}

.ez-pricing-card {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

/* Curriculum Card Styles */
.ez-curriculum-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 30px;
}

.ez-card-header {
    padding: 30px;
    border-bottom: 1px solid #f1f5f9;
}

.ez-curriculum-list {
    padding: 10px;
}

.ez-curriculum-item {
    margin-bottom: 5px;
    border-radius: 12px;
    transition: background 0.2s;
}

.ez-curriculum-item:hover {
    background: #f8fafc;
}

.ez-lesson-row {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ez-lesson-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ez-lesson-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

/* Landing Page Gutenberg Content */
.ez-landing-content {
    font-size: 1.1rem;
    color: #334155;
    margin-bottom: 40px;
}

.ez-landing-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.ez-landing-content p {
    margin-bottom: 1.5rem;
}

.ez-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}