/* ==============================
   MODERN KID-FRIENDLY DESIGN SYSTEM
   ============================== */

/* --- CSS Variables --- */
:root {
    --font-heading: 'Baloo 2', 'Comic Sans MS', cursive, sans-serif;
    --font-body: 'Nunito', 'Comic Sans MS', sans-serif;
    --color-primary: #6C5CE7;
    --color-primary-light: #A29BFE;
    --color-secondary: #00CEC9;
    --color-accent: #FD79A8;
    --color-warning: #FDCB6E;
    --color-success: #00B894;
    --color-danger: #E17055;
    --color-orange: #F39C12;
    --color-bg: #F8F7FF;
    --color-card: #FFFFFF;
    --color-text: #2D3436;
    --color-text-light: #636E72;
    --shadow-sm: 0 2px 8px rgba(108, 92, 231, 0.08);
    --shadow-md: 0 4px 20px rgba(108, 92, 231, 0.12);
    --shadow-lg: 0 8px 32px rgba(108, 92, 231, 0.18);
    --shadow-glow: 0 0 20px rgba(108, 92, 231, 0.2);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* --- Global Reset --- */
body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
}

p, div, span, label, li {
    font-family: var(--font-body);
}

/* --- Animated Background --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(108, 92, 231, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(253, 121, 168, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 206, 201, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ==============================
   QUIZ CARD (Main reusable card)
   ============================== */
.quiz-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.quiz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.quiz-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ==============================
   BOOTSTRAP CARD OVERRIDE
   ============================== */
.card {
    border-radius: var(--radius-md) !important;
    border: none !important;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ==============================
   QUESTION TEXT
   ============================== */
.question-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
    font-family: var(--font-heading);
    line-height: 1.4;
}

/* ==============================
   ANSWER BOX
   ============================== */
textarea.form-control.answer-box {
    width: 100%;
    max-width: 1300px;
    min-height: 180px;
    font-size: 1.3rem;
    font-family: var(--font-body);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 3px solid var(--color-primary-light);
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: #F8F7FF;
    resize: vertical;
}

textarea.form-control.answer-box:focus {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    background-color: #FFFFFF;
    outline: none;
}

/* ==============================
   KID BUTTON (Primary action)
   ============================== */
.kid-button {
    display: inline-block;
    margin: 10px auto 0;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--color-warning) 0%, var(--color-orange) 100%);
    border: none;
    color: #FFFFFF;
    font-family: var(--font-heading);
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    letter-spacing: 0.3px;
}

.kid-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    color: #FFFFFF;
    text-decoration: none;
}

.kid-button:active {
    transform: scale(0.98);
}

/* ==============================
   FEEDBACK BOXES
   ============================== */
.feedback-box {
    margin-top: 25px;
    padding: 24px;
    border-radius: var(--radius-md);
    font-size: 1.15rem;
    line-height: 1.6;
    border-left: 5px solid;
}

.feedback-box.correct {
    background: linear-gradient(135deg, #E8F8F5, #D5F5E3);
    border-left-color: var(--color-success);
}

.feedback-box.incorrect {
    background: linear-gradient(135deg, #FEF9E7, #FDEBD0);
    border-left-color: var(--color-orange);
}

.feedback-box strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

/* ==============================
   SCORE DISPLAY
   ============================== */
.score-display {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 15px;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

/* ==============================
   BUTTON OVERRIDES
   ============================== */
.btn {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 20px;
    transition: all 0.2s ease;
    border: none !important;
    letter-spacing: 0.3px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #5A4BD1) !important;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 16px rgba(108, 92, 231, 0.4) !important;
}

.btn-success {
    background: linear-gradient(135deg, var(--color-success), #00A382) !important;
    font-size: 1.1rem;
    padding: 12px 28px;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
}

.btn-info {
    background: linear-gradient(135deg, var(--color-secondary), #00B5B0) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 206, 201, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, var(--color-warning), var(--color-orange)) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(253, 203, 110, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, var(--color-danger), #D63031) !important;
    box-shadow: 0 4px 12px rgba(225, 112, 85, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #B2BEC3, #95A5A6) !important;
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

.btn-lg {
    padding: 14px 28px !important;
    font-size: 1.1rem !important;
    border-radius: var(--radius-md) !important;
}

/* ==============================
   FORM CONTROLS
   ============================== */
.form-control {
    font-family: var(--font-body) !important;
    border-radius: var(--radius-sm) !important;
    border: 2px solid #DFE6E9 !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    transition: all 0.25s ease;
}

.form-control:focus {
    border-color: var(--color-primary-light) !important;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1) !important;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C5CE7' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px !important;
}

textarea.form-control {
    font-family: var(--font-body) !important;
}

/* ==============================
   ALERT OVERRIDES
   ============================== */
.alert {
    border-radius: var(--radius-md) !important;
    font-family: var(--font-body);
    border: none !important;
    padding: 16px 24px;
}

.alert-info {
    background: linear-gradient(135deg, #DFF9FB, #C7ECEE) !important;
    color: #0C6980 !important;
}

.alert-success {
    background: linear-gradient(135deg, #D5F5E3, #A9DFBF) !important;
    color: #1E8449 !important;
}

.alert-danger {
    background: linear-gradient(135deg, #FADBD8, #F5B7B1) !important;
    color: #C0392B !important;
}

.alert-warning {
    background: linear-gradient(135deg, #FEF9E7, #FCF3CF) !important;
    color: #9A7D0A !important;
}

/* ==============================
   PROGRESS BAR
   ============================== */
.progress-track {
    background-color: #E8E8E8;
    border-radius: 12px;
    height: 22px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.progress-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 0.5s ease;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
}

.progress-fill.success {
    background: linear-gradient(90deg, #55EFC4, var(--color-success));
}

.progress-fill.warning {
    background: linear-gradient(90deg, var(--color-warning), var(--color-orange));
}

/* ==============================
   MODAL OVERLAY
   ============================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 52, 54, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

.modal-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    max-width: 480px;
    width: 92%;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary));
}

/* ==============================
   STATUS BADGES
   ============================== */
.badge-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}

.badge-status.completed {
    background: linear-gradient(135deg, #D5F5E3, #A9DFBF);
    color: #1E8449;
}

.badge-status.in-progress {
    background: linear-gradient(135deg, #FEF9E7, #FCF3CF);
    color: #9A7D0A;
}

.badge-status.pending {
    background: linear-gradient(135deg, #EAECEE, #D5DBDB);
    color: #5D6D7E;
}

/* ==============================
   SPINNER
   ============================== */
.spinner-border {
    color: var(--color-primary) !important;
}

/* ==============================
   ANIMATIONS
   ============================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
    0% { transform: scale(0.9); opacity: 0; }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); opacity: 1; }
}

.animate-in {
    animation: bounceIn 0.4s ease;
}

/* ==============================
   PAGE HEADER
   ============================== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0;
}

/* ==============================
   CONTAINER TWEAKS
   ============================== */
.container {
    max-width: 1200px;
}

/* ==============================
   LOGIN CARD
   ============================== */
.login-card {
    padding: 40px;
}

/* ==============================
   RESPONSIVE — TABLET (≤768px)
   ============================== */
@media (max-width: 768px) {

    /* --- Page header --- */
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
        gap: 10px;
    }

    .page-header h2 {
        font-size: 1.6rem;
    }

    .page-header > div,
    .page-header > button {
        width: 100%;
    }

    .page-header > div {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .page-header .btn {
        width: 100%;
        text-align: center;
    }

    /* --- Cards --- */
    .quiz-card {
        padding: 20px 16px;
    }

    /* --- Buttons --- */
    .kid-button {
        font-size: 1rem;
        padding: 12px 24px;
        width: 100%;
        text-align: center;
        display: block;
    }

    .btn-lg {
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }

    /* --- Answer textarea --- */
    textarea.form-control.answer-box {
        font-size: 1.05rem;
        min-height: 130px;
        padding: 14px;
    }

    /* --- Question text --- */
    .question-text {
        font-size: 1.2rem;
    }

    /* --- Score --- */
    .score-display {
        font-size: 1.1rem;
    }

    /* --- Mind map --- */
    .mindmap-branches {
        grid-template-columns: 1fr !important;
    }

    .mindmap-node.central {
        font-size: 1.1rem !important;
        padding: 14px 20px !important;
        max-width: 100% !important;
    }

    .mindmap-container {
        padding: 20px 12px;
    }

    /* --- Modal --- */
    .modal-card {
        padding: 24px 16px;
        width: 95%;
    }
}

/* ==============================
   RESPONSIVE — PHONE (≤480px)
   ============================== */
@media (max-width: 480px) {

    /* --- Global spacing --- */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .py-4 {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    /* --- Typography --- */
    .page-header h2 {
        font-size: 1.35rem;
    }

    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }

    /* --- Login card --- */
    .login-card {
        padding: 20px 14px;
    }

    /* --- Cards --- */
    .quiz-card {
        padding: 16px 12px;
        border-radius: var(--radius-md);
    }

    /* --- Login card (has inline padding: 40px) --- */
    .quiz-card[style*="padding: 40px"],
    .quiz-card[style*="padding:40px"] {
        padding: 20px 14px !important;
    }

    /* --- Buttons: full-width, tall enough for thumbs --- */
    .btn {
        min-height: 44px;
        font-size: 0.95rem !important;
    }

    .btn-lg {
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
        min-height: 48px;
    }

    .kid-button {
        font-size: 0.95rem;
        padding: 12px 20px;
        min-height: 48px;
    }

    /* --- Answer textarea --- */
    textarea.form-control.answer-box {
        font-size: 1rem;
        min-height: 110px;
        padding: 12px;
    }

    /* --- Question text --- */
    .question-text {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    /* --- Feedback boxes --- */
    .feedback-box {
        font-size: 1rem;
        padding: 16px 14px;
    }

    /* --- Score --- */
    .score-display {
        font-size: 1rem;
    }

    /* --- Progress bar --- */
    .progress-track {
        height: 18px;
    }

    /* --- Badges --- */
    .badge-status {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    /* --- Alerts --- */
    .alert {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    /* --- Form controls --- */
    .form-control {
        font-size: 0.95rem !important;
        padding: 10px 12px !important;
    }

    /* --- Mind map: compact for small screens --- */
    .mindmap-container {
        padding: 14px 8px;
        border-radius: var(--radius-md);
    }

    .mindmap-node.central {
        font-size: 1rem !important;
        padding: 12px 16px !important;
    }

    .mindmap-node.branch {
        font-size: 0.95rem;
        padding: 10px 14px;
    }

    .mindmap-node.leaf {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .mindmap-node.subleaf {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    /* --- Page navigation buttons (mind map pager) --- */
    .mindmap-pager {
        gap: 10px;
    }

    /* --- Inline flex rows that need to stack on phone --- */
    [style*="display: flex"][style*="gap: 12px"],
    [style*="display:flex"][style*="gap:12px"] {
        flex-wrap: wrap;
    }

    /* --- Modal --- */
    .modal-card {
        padding: 18px 12px;
        width: 98%;
        border-radius: var(--radius-md);
    }

    /* --- Remove hover lift on touch (avoids sticky hover state) --- */
    .quiz-card:hover,
    .btn:hover,
    .kid-button:hover,
    .mindmap-node:hover {
        transform: none;
    }
}

/* ==============================
   MIND MAP STYLES
   ============================== */
.mindmap-container {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.mindmap-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6C5CE7, #00CEC9, #FD79A8, #FDCB6E, #00B894, #E17055);
}

.mindmap-center {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    position: relative;
}

.mindmap-center::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 16px;
    background: var(--color-primary-light);
}

.mindmap-node {
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    box-sizing: border-box;
    width: 100%;
}

.mindmap-node:hover {
    transform: scale(1.05);
}

.mindmap-node.subleaf:hover,
.mindmap-node.subsubleaf:hover {
    transform: none;
}

.mindmap-node.central {
    font-size: 1.6rem;
    padding: 20px 36px;
    color: white;
    box-shadow: 0 6px 24px rgba(108, 92, 231, 0.35);
    min-width: 200px;
    max-width: 520px;
    width: auto;
    align-self: center;
    letter-spacing: 0.3px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.mindmap-node.branch {
    font-size: 1.2rem;
    padding: 14px 22px;
    color: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    margin-bottom: 12px;
    width: 100%;
}

.mindmap-node.leaf {
    font-size: 1.05rem;
    padding: 8px 16px;
    background: white;
    border: 2px solid;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-bottom: 8px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 760px;
    text-align: left;
}

.mindmap-branches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    align-items: start;
}

/* Explicit branches-per-page density (1/2/3), smoothly aligned columns */
.mindmap-branches.cols-1 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.mindmap-branches.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mindmap-branches.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mindmap-branches-density {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.mindmap-branches-density .density-btn {
    border: 2px solid var(--color-primary-light, #A29BFE);
    background: white;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.mindmap-branches-density .density-btn.active {
    background: var(--color-primary);
    color: white;
}

/* Splitting a branch's leaves into side-by-side sub-columns so a long list
   never carries over onto the next export page under the same branch. */
.mindmap-leaf-split-columns {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
}

.mindmap-leaf-split-columns > .mindmap-leaf-split-column {
    flex: 1 1 0;
    min-width: 0;
}

.mindmap-branch {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    padding-top: 16px;
    min-width: 0;
}

.mindmap-branch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 16px;
    background: #DFE6E9;
}

.mindmap-leaves {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
}

.mindmap-leaf-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.mindmap-subleaves {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    width: 94%;
    align-self: flex-end;
    padding-left: 12px;
    border-left: 2px dashed #DFE6E9;
    margin-bottom: 6px;
}

.mindmap-node.subleaf {
    font-size: 0.92rem;
    padding: 6px 13px;
    background: transparent;
    border: 1.5px solid;
    border-radius: var(--radius-md);
    font-weight: 700;
    margin-bottom: 4px;
    width: 100%;
    text-align: left;
    box-shadow: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ++Sub-subject level */
.mindmap-subsubleaves {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 91%;
    align-self: flex-end;
    padding-left: 14px;
    border-left: 2px dotted #DFE6E9;
    margin-bottom: 4px;
    margin-top: 2px;
}

.mindmap-node.subsubleaf {
    font-size: 0.83rem;
    padding: 4px 10px;
    background: transparent;
    border: 1px dashed;
    border-radius: var(--radius-md);
    font-weight: 700;
    margin-bottom: 2px;
    width: 100%;
    text-align: left;
    box-shadow: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    transform: none !important;
}
}

/* -- Drag-and-drop handles & drop targets -- */
.drag-handle {
    position: absolute;
    top: 4px;
    left: 6px;
    font-size: 1rem;
    line-height: 1;
    cursor: grab;
    opacity: 0.45;
    user-select: none;
    transition: opacity 0.15s;
    z-index: 10;
}
.drag-handle:hover {
    opacity: 1;
}
.drag-handle:active {
    cursor: grabbing;
}
.drop-target {
    outline: 2px dashed #6C5CE7 !important;
    outline-offset: 2px;
    background: rgba(108, 92, 231, 0.07) !important;
    transition: outline 0.1s, background 0.1s;
}
.mindmap-branch.drop-target {
    outline: 2px dashed #6C5CE7 !important;
    border-radius: 16px;
    background: rgba(108, 92, 231, 0.05) !important;
}

.pdf-page-break-marker {
    border-top: 2px dashed #E17055;
    color: #E17055;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    padding: 4px 0;
    margin: 8px 0;
}

