body.course-landing-page,
body.course-login-page {
    margin: 0;
    min-height: 100vh;
    background: #f1f5f9;
    color: #1e293b;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.course-landing-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.course-landing-home {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.course-landing-home:hover {
    color: #2f6fed;
}

.course-landing-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 10px;
    background: #2f6fed;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
}

.course-landing-login:hover {
    background: #2559c7;
}

.course-landing-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.course-landing-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 10px;
    border: 2px solid #22c55e;
    background: #fff;
    color: #15803d;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.course-landing-register:hover {
    background: #f0fdf4;
}

.course-login-notice {
    min-height: 20px;
    margin: 0 0 8px;
    color: #2f6fed;
    font-size: 14px;
    line-height: 1.45;
}

.course-login-notice a {
    color: #2f6fed;
    font-weight: 700;
    text-decoration: underline;
}

.course-login-notice a:hover {
    color: #2559c7;
}

.course-login-register {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.course-auth-link {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #2f6fed;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: inherit;
}

.course-auth-link:hover {
    color: #2559c7;
}

.course-register-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.course-register-modal[hidden] {
    display: none;
}

.course-register-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.course-register-dialog {
    position: relative;
    width: min(100%, 480px);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 22px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.course-register-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: none;
    font-size: 28px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
}

.course-register-dialog h2 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #1e293b;
}

.course-register-lead {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 15px;
}

.course-register-steps {
    margin: 0 0 16px;
    padding-left: 20px;
    color: #334155;
    line-height: 1.55;
}

.course-register-steps a {
    color: #2f6fed;
    font-weight: 600;
}

.course-register-note {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
}

.course-register-switch {
    margin: 0;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.course-register-switch a {
    color: #2f6fed;
    font-weight: 600;
    text-decoration: none;
}

.course-register-switch a:hover {
    text-decoration: underline;
}
