.board-create-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-bottom: 24px;
}

.board-create-card {
    background: linear-gradient(180deg, #13161c 0%, #0f1218 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    padding: 18px;
}

.board-create-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.board-create-board-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 184, 77, 0.24);
    color: #ffe5b4;
    border: 1px solid rgba(255, 184, 77, 0.44);
    font-weight: 700;
    font-size: 13px;
}

.board-create-toolbar-actions {
    margin-left: auto;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.board-check-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.board-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.board-check-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.44);
    color: rgba(226, 232, 240, 0.9);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.1;
    transition: all 0.2s ease;
}

.board-check-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.9);
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.22);
    transition: all 0.2s ease;
}

.board-check-option:hover .board-check-label {
    border-color: rgba(255, 184, 77, 0.56);
    color: #f8fafc;
}

.board-check-input:focus-visible + .board-check-label {
    outline: 2px solid rgba(255, 184, 77, 0.7);
    outline-offset: 2px;
}

.board-check-input:checked + .board-check-label {
    background: linear-gradient(180deg, rgba(255, 184, 77, 0.94) 0%, rgba(255, 150, 58, 0.94) 100%);
    border-color: rgba(255, 184, 77, 0.95);
    color: #141821;
    box-shadow: 0 8px 18px rgba(255, 170, 64, 0.25);
}

.board-check-input:checked + .board-check-label::before {
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(20, 24, 33, 0.2);
}

.board-title-wrap {
    margin-bottom: 12px;
}

.board-category-wrap {
    margin-bottom: 12px;
}

.board-category-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(226, 232, 240, 0.92);
}

.board-category-select {
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.44);
    background: rgba(15, 23, 42, 0.56);
    color: #e2e8f0;
    font-weight: 600;
}

.board-category-select:focus {
    border-color: rgba(255, 184, 77, 0.72);
    box-shadow: 0 0 0 0.16rem rgba(255, 184, 77, 0.18);
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.7);
}

.board-title-input {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    padding: 8px 2px 10px;
    outline: none;
}

.board-title-input::placeholder {
    color: #f2f5fb;
    opacity: 0.95;
}

.board-editor-wrap .note-editor.note-frame {
    border-color: rgba(255, 255, 255, 0.16);
    background: #171b22;
}

.board-editor-wrap .note-toolbar {
    background: #11151d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.board-editor-wrap .note-editing-area .note-editable {
    min-height: 360px;
    background: #171b22;
    color: #eaf0ff;
    font-size: 15px;
    line-height: 1.7;
}

.board-upload-wrap {
    margin-top: 16px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.34);
}

.board-upload-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.board-upload-head h6 {
    color: #f8fafc;
}

.board-upload-head p {
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.82rem;
}

.board-upload-toggle-btn {
    border: 1px solid rgba(148, 163, 184, 0.46);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    color: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.board-upload-toggle-btn:hover,
.board-upload-toggle-btn:focus-visible {
    border-color: rgba(255, 184, 77, 0.58);
    color: #ffffff;
}

.board-upload-toggle-btn:focus-visible {
    outline: 2px solid rgba(255, 184, 77, 0.68);
    outline-offset: 2px;
}

.board-upload-toggle-btn i {
    transition: transform 0.2s ease;
}

.board-upload-head[aria-expanded="true"] .board-upload-toggle-btn {
    border-color: rgba(255, 184, 77, 0.95);
    background: linear-gradient(180deg, rgba(255, 184, 77, 0.95) 0%, rgba(255, 150, 58, 0.95) 100%);
    color: #141821;
    box-shadow: 0 8px 18px rgba(255, 170, 64, 0.25);
}

.board-upload-head[aria-expanded="true"] .board-upload-toggle-btn i {
    transform: rotate(180deg);
}

.board-upload-wrap .uppy-Dashboard {
    border-radius: 10px;
}

.board-upload-result {
    min-height: 20px;
    font-size: 0.87rem;
}

.board-upload-result.is-error {
    color: #f87171;
}

.board-upload-result.is-success {
    color: #34d399;
}

.board-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.board-submit-btn,
.board-cancel-btn {
    min-width: 96px;
    border-radius: 8px;
    border: 0;
    font-weight: 800;
    font-size: 15px;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
}

.board-submit-btn {
    background: #ff9f0f;
    color: #101319;
}

.board-submit-btn:disabled {
    opacity: 0.7;
}

.board-cancel-btn {
    background: #414754;
    color: #ffffff;
}

html[data-bs-theme="light"] .board-create-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

html[data-bs-theme="light"] .board-create-board-pill {
    background: rgba(245, 158, 11, 0.14);
    color: #7c2d12;
    border-color: rgba(217, 119, 6, 0.38);
}

html[data-bs-theme="light"] .board-check-label {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.22);
    color: #334155;
}

html[data-bs-theme="light"] .board-check-label::before {
    background: rgba(100, 116, 139, 0.9);
    box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.18);
}

html[data-bs-theme="light"] .board-check-option:hover .board-check-label {
    border-color: rgba(217, 119, 6, 0.5);
    color: #0f172a;
}

html[data-bs-theme="light"] .board-check-input:checked + .board-check-label {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.94) 0%, rgba(234, 88, 12, 0.94) 100%);
    border-color: rgba(217, 119, 6, 0.9);
    color: #111827;
}

html[data-bs-theme="light"] .board-title-input {
    border-bottom: 1px solid rgba(15, 23, 42, 0.16);
    color: #0f172a;
}

html[data-bs-theme="light"] .board-category-label {
    color: #334155;
}

html[data-bs-theme="light"] .board-category-select {
    border-color: rgba(15, 23, 42, 0.16);
    background: #ffffff;
    color: #0f172a;
}

html[data-bs-theme="light"] .board-category-select:focus {
    border-color: rgba(217, 119, 6, 0.56);
    box-shadow: 0 0 0 0.16rem rgba(217, 119, 6, 0.14);
    background: #ffffff;
    color: #0f172a;
}

html[data-bs-theme="light"] .board-title-input::placeholder {
    color: #64748b;
}

html[data-bs-theme="light"] .board-editor-wrap .note-editor.note-frame {
    border-color: rgba(15, 23, 42, 0.14);
    background: #ffffff;
}

html[data-bs-theme="light"] .board-editor-wrap .note-toolbar {
    background: #f8fafc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

html[data-bs-theme="light"] .board-editor-wrap .note-editing-area .note-editable {
    background: #ffffff;
    color: #0f172a;
}

html[data-bs-theme="light"] .board-upload-wrap {
    border-color: rgba(15, 23, 42, 0.14);
    background: #ffffff;
}

html[data-bs-theme="light"] .board-upload-head h6 {
    color: #0f172a;
}

html[data-bs-theme="light"] .board-upload-head p {
    color: #64748b;
}

html[data-bs-theme="light"] .board-upload-toggle-btn {
    border-color: rgba(15, 23, 42, 0.2);
    background: #f8fafc;
    color: #334155;
}

html[data-bs-theme="light"] .board-upload-head[aria-expanded="true"] .board-upload-toggle-btn {
    border-color: rgba(217, 119, 6, 0.88);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.95) 0%, rgba(234, 88, 12, 0.95) 100%);
    color: #111827;
}

html[data-bs-theme="light"] .board-cancel-btn {
    background: #e2e8f0;
    color: #0f172a;
}

@media (max-width: 768px) {
    .board-create-card {
        padding: 12px;
    }

    .board-create-toolbar {
        flex-wrap: wrap;
    }

    .board-create-toolbar-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .board-check-label {
        padding: 6px 11px;
    }

    .board-title-input {
        font-size: 17px;
    }
}
