/* ============ FILE VIEWERS ============ */
.file-viewer-shell {
    border: 1px solid #1a1a1a;
    background: #080808;
    padding: 25px;
    margin-top: 20px;
}
.file-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #1a1a1a;
}
.file-header .file-icon { font-size: 32px; }
.file-header h3 { font-size: 18px; color: #fff; margin: 0; }

.pdf-embed-container {
    border: 1px solid #2a2a2a;
    background: #fff; /* PDF нужен белый фон для читаемости */
    border-radius: 4px;
    overflow: hidden;
}
.file-fallback {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #888;
}
.text-link {
    color: #00ff96;
    text-decoration: underline;
}

.ipynb-info {
    text-align: center;
    padding: 20px;
}
.ipynb-info p { color: #aaa; margin-bottom: 15px; }
.ipynb-options {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 0 auto 25px;
    padding: 20px;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
}
.ipynb-options li {
    padding: 8px 0;
    color: #ccc;
    font-size: 14px;
    border-bottom: 1px solid #121212;
}
.ipynb-options li:last-child { border-bottom: none; }
.ipynb-options code {
    background: #1a1a1a;
    color: #00ff96;
    padding: 2px 6px;
    border-radius: 3px;
}

/* ============ COURSE CARD ACTIONS ============ */
.course-card-wrapper {
    position: relative;
}
.card-actions {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}
.card-btn {
    flex: 1;
    padding: 6px;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    color: #888;
    text-decoration: none;
    text-align: center;
    font-size: 11px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.card-btn:hover { border-color: #00ff96; color: #00ff96; }
.card-btn-danger:hover { border-color: #ff4444; color: #ff4444; }

/* ============ EDITOR LAYOUT ============ */
.editor-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
    margin-top: 30px;
}

.editor-sidebar {
    border: 1px solid #1a1a1a;
    background: #080808;
    padding: 20px;
    height: fit-content;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a1a1a;
}
.sidebar-header h3 {
    font-size: 12px;
    color: #00ff96;
    letter-spacing: 2px;
}

.modules-list { display: flex; flex-direction: column; gap: 5px; }

.module-item-editor {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #0a0a0a;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
}
.module-item-editor:hover { border-color: #2a2a2a; }
.module-item-editor.active {
    border-color: #00ff96;
    background: rgba(0, 255, 150, 0.05);
}
.module-order { color: #00ff96; font-size: 11px; min-width: 30px; }
.module-title-edit { flex: 1; color: #ccc; }

.editor-main {
    border: 1px solid #1a1a1a;
    background: #080808;
    padding: 25px;
    min-height: 400px;
}

.module-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #1a1a1a;
}
.module-editor-header h2 { font-size: 18px; color: #fff; }

.lessons-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.lesson-item-editor {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    font-size: 13px;
}
.lesson-order { color: #555; font-size: 11px; min-width: 30px; }
.lesson-type-badge {
    font-size: 10px;
    padding: 2px 8px;
    letter-spacing: 1px;
    border: 1px solid #2a2a2a;
    color: #888;
}
.lesson-title-edit { flex: 1; color: #ccc; }

.btn-icon {
    background: transparent;
    border: none;
    color: #555;
    cursor: pointer;
    font-size: 18px;
    padding: 0 6px;
    transition: color 0.2s;
}
.btn-icon:hover { color: #ff4444; }

.btn-small {
    background: transparent;
    border: 1px solid #2a2a2a;
    color: #888;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    letter-spacing: 1px;
}
.btn-small:hover { border-color: #00ff96; color: #00ff96; }
.btn-accent {
    border-color: #00ff96 !important;
    color: #00ff96 !important;
}

.add-form {
    margin-top: 20px;
    padding: 20px;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
}
.add-form h3 {
    font-size: 14px;
    color: #00ff96;
    margin-bottom: 15px;
}
.add-form label {
    display: block;
    color: #888;
    font-size: 11px;
    letter-spacing: 1px;
    margin: 12px 0 6px;
}
.add-form input,
.add-form textarea,
.add-form select {
    width: 100%;
    background: #050505;
    border: 1px solid #2a2a2a;
    color: #fff;
    padding: 10px;
    font-family: inherit;
    font-size: 13px;
}
.add-form input:focus,
.add-form textarea:focus,
.add-form select:focus {
    outline: none;
    border-color: #00ff96;
}

.form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.course-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn-danger {
    border-color: #ff4444 !important;
    color: #ff4444 !important;
}
.btn-danger:hover {
    background: #ff4444 !important;
    color: #000 !important;
}

.empty-state {
    padding: 40px;
    text-align: center;
    color: #555;
    font-size: 13px;
}

@media (max-width: 768px) {
    .editor-layout { grid-template-columns: 1fr; }
}

/* ============ PROFILE UPGRADES ============ */
.btn-create {
    background: #00ff96 !important;
    color: #000 !important;
    font-weight: bold;
}
.btn-create:hover {
    background: #00cc78 !important;
    color: #000 !important;
}

.my-courses-section {
    margin-top: 50px;
}
.my-courses-section h2 {
    font-size: 20px;
    color: #00ff96;
    letter-spacing: 3px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #1a1a1a;
}


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

body {
    background: #0a0a0a;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 150, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 150, 0.02) 0%, transparent 50%);
    background-attachment: fixed;
    color: #e0e0e0;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    min-height: 100vh;
    line-height: 1.6;

    /* ГЛАВНОЕ ИСПРАВЛЕНИЕ: */
    display: flex;
    flex-direction: column;      /* вертикальный стек */
    align-items: stretch;        /* растянуть на всю ширину */
    justify-content: flex-start; /* прижать к верху */
    padding: 0;                  /* отступы теперь у .page */
}

.terminal {
    max-width: 900px;
    width: 100%;
    border: 1px solid #2a2a2a;
    padding: 60px;
    background: linear-gradient(180deg, #0d0d0d 0%, #050505 100%);
    box-shadow: 
        0 0 60px rgba(0, 255, 150, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #00ff96;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tagline {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.subtag {
    font-size: 11px;
    color: #555;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: -1px;
}

.desc {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    font-size: 15px;
}

.features {
    list-style: none;
    margin-bottom: 50px;
}

.features li {
    padding: 15px 0;
    border-top: 1px solid #1a1a1a;
    color: #ccc;
    font-size: 14px;
    transition: all 0.2s;
}

.features li:hover {
    color: #00ff96;
    padding-left: 10px;
}

.features .num {
    color: #00ff96;
    margin-right: 20px;
    font-weight: bold;
    font-size: 16px;
}

.auth-block {
    border: 1px solid #1a1a1a;
    padding: 40px;
    background: #080808;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.auth-title {
    font-size: 11px;
    color: #00ff96;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.auth-sub {
    font-size: 12px;
    color: #666;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.tab {
    background: transparent;
    border: 1px solid #2a2a2a;
    color: #888;
    padding: 10px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.tab:hover {
    border-color: #00ff96;
    color: #00ff96;
}

.tab.active {
    color: #00ff96;
    border-color: #00ff96;
    background: rgba(0, 255, 150, 0.05);
}

#authForm input {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    color: #fff;
    padding: 14px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s;
}

#authForm input:focus {
    outline: none;
    border-color: #00ff96;
    box-shadow: 0 0 10px rgba(0, 255, 150, 0.1);
}

#authForm label {
    display: block;
    color: #888;
    font-size: 12px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.avatars {
    display: flex;
    gap: 20px;
    margin: 15px 0 20px;
    font-size: 28px;
}

.avatars label {
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.avatars label:hover {
    transform: scale(1.2);
}

.avatars input {
    display: none;
}

#submitBtn {
    width: 100%;
    background: #00ff96;
    color: #000;
    border: none;
    padding: 16px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(0, 255, 150, 0.2);
}

#submitBtn:hover {
    background: #00cc78;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 255, 150, 0.3);
}

.error {
    color: #ff4444;
    margin-top: 15px;
    font-size: 13px;
    min-height: 20px;
    letter-spacing: 1px;
}

.demo-note {
    font-size: 11px;
    color: #444;
    margin-top: 20px;
    text-align: center;
    letter-spacing: 1px;
}

.welcome {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
}

.welcome .avatar {
    font-size: 48px;
}

.welcome .nick {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}

.welcome .elo {
    color: #00ff96;
    margin-left: auto;
    font-size: 16px;
    letter-spacing: 1px;
}

.welcome button {
    background: transparent;
    border: 1px solid #444;
    color: #888;
    padding: 8px 16px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.welcome button:hover {
    border-color: #00ff96;
    color: #00ff96;
}

/* ============ NAV ============ */
.topnav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid #1a1a1a;
    backdrop-filter: blur(10px);
}
.nav-logo {
    font-size: 14px;
    color: #00ff96;
    letter-spacing: 3px;
    text-decoration: none;
    font-weight: bold;
}
.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-link {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.nav-link:hover { color: #00ff96; }
.nav-user { color: #00ff96; }
.nav-enter { color: #00ff96; border: 1px solid #00ff96; padding: 6px 14px; }

.page { max-width: 1100px; margin: 0 auto; padding: 40px; min-height: calc(100vh - 140px); }

.page-header { margin-bottom: 40px; }
.crumb { font-size: 12px; color: #555; letter-spacing: 1px; margin-bottom: 15px; }
.crumb a { color: #888; text-decoration: none; }
.crumb a:hover { color: #00ff96; }
.page-header h1 { font-size: 36px; margin-bottom: 15px; }

.footer {
    border-top: 1px solid #1a1a1a;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #444;
    letter-spacing: 1px;
}

/* ============ COURSES GRID ============ */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.course-card {
    display: block;
    padding: 25px;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
.course-card:hover {
    border-color: #00ff96;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 255, 150, 0.1);
}
.card-top {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #555;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.card-type { color: #00ff96; }
.course-card h2 { font-size: 20px; margin-bottom: 10px; color: #fff; }
.course-card p { color: #888; font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}
.card-arrow { color: #00ff96; font-size: 18px; }

/* ============ MODULES & LESSONS ============ */
.module {
    border: 1px solid #1a1a1a;
    margin-bottom: 20px;
    background: #080808;
}
.module-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    border-bottom: 1px solid #1a1a1a;
    background: #0a0a0a;
}
.module-num {
    color: #00ff96;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 14px;
}
.module-head h2 { font-size: 18px; flex: 1; }
.module-count { font-size: 12px; color: #555; }

.lesson-list { list-style: none; }
.lesson-list li { border-top: 1px solid #121212; }
.lesson-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 25px;
    text-decoration: none;
    color: #ccc;
    transition: all 0.2s;
}
.lesson-row:hover { background: #0d0d0d; color: #00ff96; padding-left: 35px; }
.lesson-num { color: #555; font-size: 12px; letter-spacing: 1px; min-width: 40px; }
.lesson-type {
    font-size: 10px;
    padding: 3px 8px;
    letter-spacing: 1px;
    border: 1px solid #2a2a2a;
    color: #888;
    min-width: 90px;
    text-align: center;
}
.type-markdown { color: #4a9eff; border-color: #4a9eff33; }
.type-jupyter { color: #ff9f43; border-color: #ff9f4333; }
.type-ai_trainer { color: #00ff96; border-color: #00ff9633; }
.lesson-title { flex: 1; font-size: 14px; }
.lesson-arrow { color: #00ff96; opacity: 0; transition: opacity 0.2s; }
.lesson-row:hover .lesson-arrow { opacity: 1; }

/* ============ LESSON BODY ============ */
.lesson-meta { display: flex; gap: 15px; align-items: center; font-size: 12px; color: #666; }

.markdown {
    color: #ccc;
    line-height: 1.8;
    font-size: 15px;
}
.markdown h1, .markdown h2, .markdown h3 { color: #fff; margin: 25px 0 15px; }
.markdown h1 { font-size: 28px; }
.markdown h2 { font-size: 22px; border-bottom: 1px solid #1a1a1a; padding-bottom: 8px; }
.markdown code {
    background: #0a0a0a;
    color: #00ff96;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}
.markdown pre {
    background: #050505;
    border: 1px solid #1a1a1a;
    padding: 15px;
    overflow-x: auto;
    margin: 15px 0;
}
.markdown pre code { background: transparent; padding: 0; }

/* jupyter */
.jupyter-shell, .ai-shell {
    border: 1px solid #1a1a1a;
    background: #080808;
    padding: 25px;
}
.jupyter-task, .ai-task {
    background: #0a0a0a;
    border-left: 3px solid #00ff96;
    padding: 15px;
    margin-bottom: 20px;
    color: #ccc;
    font-size: 14px;
}
textarea {
    width: 100%;
    min-height: 150px;
    background: #050505;
    border: 1px solid #2a2a2a;
    color: #e0e0e0;
    padding: 15px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}
textarea:focus { outline: none; border-color: #00ff96; }
.jupyter-actions { margin: 15px 0; display: flex; gap: 10px; }
.jupyter-actions button, .ai-input button {
    background: #00ff96;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 1px;
}
.jupyter-actions button:hover, .ai-input button:hover { background: #00cc78; }
.jupyter-output {
    background: #050505;
    border: 1px solid #1a1a1a;
    padding: 15px;
    color: #888;
    font-size: 13px;
    min-height: 80px;
    white-space: pre-wrap;
}

/* ai chat */
.ai-chat {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding: 10px;
    background: #050505;
    border: 1px solid #1a1a1a;
}
.msg { padding: 10px 15px; margin: 8px 0; border-radius: 4px; white-space: pre-wrap; font-size: 14px; }
.msg-ai { background: #0a1a12; border-left: 3px solid #00ff96; color: #ccc; }
.msg-user { background: #1a1a0a; border-left: 3px solid #ff9f43; color: #ccc; }
.ai-input { display: flex; gap: 10px; }
.ai-input textarea { min-height: 80px; }

/* lesson nav */
.lesson-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
}
.lesson-nav a {
    color: #00ff96;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 15px;
    border: 1px solid #1a1a1a;
    transition: all 0.2s;
}
.lesson-nav a:hover { border-color: #00ff96; background: rgba(0, 255, 150, 0.05); }

/* ============ LEADERBOARD ============ */
.lb-table {
    width: 100%;
    border-collapse: collapse;
    background: #080808;
    border: 1px solid #1a1a1a;
}
.lb-table th {
    text-align: left;
    padding: 15px 20px;
    background: #0a0a0a;
    color: #00ff96;
    font-size: 11px;
    letter-spacing: 2px;
    border-bottom: 1px solid #1a1a1a;
}
.lb-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #121212;
    font-size: 14px;
}
.lb-table tr:hover { background: #0d0d0d; }
.lb-rank { color: #555; font-weight: bold; }
.lb-name { color: #fff; }
.lb-avatar { font-size: 20px; margin-right: 10px; }
.lb-league { color: #888; font-size: 13px; }
.lb-elo { color: #00ff96; font-weight: bold; letter-spacing: 1px; }
.lb-me { background: rgba(0, 255, 150, 0.05); }
.lb-me td { color: #00ff96; }

/* ============ PROFILE ============ */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.stat-card {
    border: 1px solid #1a1a1a;
    padding: 25px;
    background: #080808;
}
.stat-label { font-size: 11px; color: #555; letter-spacing: 2px; margin-bottom: 10px; }
.stat-value { font-size: 32px; color: #00ff96; font-weight: bold; }
.stat-sub { font-size: 11px; color: #444; margin-top: 5px; }

.profile-actions { display: flex; gap: 15px; }
.btn {
    padding: 12px 24px;
    border: 1px solid #00ff96;
    color: #00ff96;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.2s;
}
.btn:hover { background: #00ff96; color: #000; }

.empty {
    padding: 40px;
    text-align: center;
    color: #555;
    border: 1px dashed #1a1a1a;
    font-size: 13px;
}

.features li a { color: inherit; text-decoration: none; display: block; }
.features li a:hover { color: #00ff96; }

/* ============ LAYOUT FIX ============ */

/* Шапка и подвал не должны сжиматься */
.topnav, .footer { flex-shrink: 0; }

/* Контент занимает всё свободное место -> подвал всегда внизу */
.page {
    flex: 1 0 auto;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
    min-height: unset;
}

/* Лендинг центрируем внутри .page, а не через body */
.terminal {
    margin: 0 auto;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .topnav {
        flex-direction: column;
        gap: 12px;
        padding: 14px 20px;
        text-align: center;
    }
    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .page { padding: 24px 18px; }
    .terminal { padding: 28px 20px; }
    h1, .page-header h1 { font-size: 26px; }
    .auth-block { padding: 22px 18px; }
    .footer {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 16px 20px;
    }
    .courses-grid { grid-template-columns: 1fr; }
    .module-head { flex-wrap: wrap; gap: 10px; }
    .lesson-row { flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
    .lesson-row:hover { padding-left: 16px; }
    .welcome { flex-wrap: wrap; }
    .welcome .elo { margin-left: 0; }
    .lb-table th, .lb-table td { padding: 10px 12px; font-size: 12px; }
    .ai-input { flex-direction: column; }
    .lesson-nav { flex-direction: column; gap: 10px; }
}

/* ============ CREATE COURSE FORM ============ */
.create-form {
    max-width: 800px;
}

.form-section {
    border: 1px solid #1a1a1a;
    padding: 30px;
    margin-bottom: 30px;
    background: #080808;
}

.form-section h2 {
    font-size: 20px;
    color: #00ff96;
    margin-bottom: 20px;
}

.create-form label {
    display: block;
    color: #888;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    margin-top: 15px;
}

.create-form input,
.create-form textarea,
.create-form select {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    color: #fff;
    padding: 12px;
    font-family: inherit;
    font-size: 14px;
}

.create-form input:focus,
.create-form textarea:focus,
.create-form select:focus {
    outline: none;
    border-color: #00ff96;
}

.btn-primary {
    background: #00ff96;
    color: #000;
    border: none;
    padding: 14px 24px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #00cc78;
}

.btn-secondary {
    background: transparent;
    color: #00ff96;
    border: 1px solid #00ff96;
    padding: 10px 20px;
    font-family: inherit;
    cursor: pointer;
    font-size: 13px;
    margin-top: 15px;
}

.btn-secondary:hover {
    background: rgba(0, 255, 150, 0.1);
}

.module-item,
.lesson-item {
    padding: 10px;
    margin: 5px 0;
    background: #0a0a0a;
    border-left: 3px solid #00ff96;
    color: #ccc;
    font-size: 13px;
}

.success-box {
    border: 2px solid #00ff96;
    padding: 40px;
    text-align: center;
    background: rgba(0, 255, 150, 0.05);
}

.success-box h2 {
    color: #00ff96;
    margin-bottom: 15px;
}

.success-box p {
    color: #aaa;
    margin-bottom: 25px;
}
