@charset "utf-8";

.uxNewPage {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#fnewlist {
    display: block;
    width: 100%;
}

.newSearchShell {
    margin-bottom: 0;
}

#new_sch.newUnifiedSearch {
    padding: 16px;
    border: 1px solid #d9e3f0;
    border-radius: 14px;
    background: linear-gradient(150deg, #f8fbff 0%, #eef4ff 100%);
}

#new_sch.newUnifiedSearch .newSearchForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#new_sch.newUnifiedSearch .newSearchTop {
    position: relative;
    display: flex;
    align-items: center;
}

#new_sch.newUnifiedSearch .newSearchIcon {
    position: absolute;
    left: 12px;
    color: #64748b;
    font-size: 15px;
    pointer-events: none;
}

#new_sch.newUnifiedSearch .newSearchTop .frm_input {
    width: 100%;
    height: 44px;
    padding: 0 48px 0 36px;
    border: 1px solid #ccdaee;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    box-sizing: border-box;
}

#new_sch.newUnifiedSearch .newSearchTop .frm_input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

#new_sch.newUnifiedSearch .newSearchTop .btn_submit {
    position: absolute;
    right: 5px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 16px;
}

#new_sch.newUnifiedSearch .newSearchFilters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#new_sch.newUnifiedSearch .newSearchField select {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #c7d7ef;
    border-radius: 11px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    box-sizing: border-box;
}

#new_sch.newUnifiedSearch .newSearchField select:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.16);
}

#new_sch.newUnifiedSearch .newSearchHelp {
    margin: 0;
    padding-left: 2px;
    color: #64748b;
    font-size: 12px;
}

.newboardList {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newListSummary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid #dbe5f2;
    border-radius: 12px;
    background: #fff;
}

.newListSummary strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
}

.newListSummary strong em {
    margin-left: 4px;
    color: #2563eb;
    font-style: normal;
}

.newListSummary span {
    color: #64748b;
    font-size: 12px;
}

.newboardList .toolBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid #dbe5f2;
    border-radius: 12px;
    background: #fff;
}

.newboardList .toolBox .tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.newCheckAll {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.newDeleteBtn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #fff1f2;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.newDeleteBtn i {
    font-size: 15px;
}

.newboardList .listWrap {
    padding: 0;
}

.newCardList {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newCard {
    padding: 14px;
    border: 1px solid #dbe5f2;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.newCardHead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.newCardHead .new_tit {
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    word-break: normal !important;
    overflow-wrap: anywhere;
}

.newCardHead .new_tit:hover {
    color: #1d4ed8;
}

.newCardDate {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 8px;
    border: 1px solid #dbe5f2;
    border-radius: 999px;
    background: #ffffff;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.newCardMeta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.newChip {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid #dbe5f2;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.newChip.newGroup {
    border-color: #c7defc;
    background: #eff6ff;
    color: #1d4ed8;
}

.newChip.newBoard {
    border-color: #e2d7fb;
    background: #f5f3ff;
    color: #6d28d9;
}

.newWriter {
    margin-left: auto;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.newWriter a {
    color: inherit;
}

.newCheckWrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 2px;
}

.newCheckWrap label {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.newEmpty {
    padding: 28px 14px;
    border: 1px dashed #dbe5f2;
    border-radius: 14px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.newPaging {
    margin-top: 4px;
}

:root.darkMode #new_sch.newUnifiedSearch,
.darkMode #new_sch.newUnifiedSearch {
    border-color: #334155;
    background: linear-gradient(150deg, #111827 0%, #0f1b2f 100%);
}

:root.darkMode #new_sch.newUnifiedSearch .newSearchIcon,
.darkMode #new_sch.newUnifiedSearch .newSearchIcon {
    color: #94a3b8;
}

:root.darkMode #new_sch.newUnifiedSearch .newSearchTop .frm_input,
:root.darkMode #new_sch.newUnifiedSearch .newSearchField select,
.darkMode #new_sch.newUnifiedSearch .newSearchTop .frm_input,
.darkMode #new_sch.newUnifiedSearch .newSearchField select {
    border-color: #334155;
    background: #0b1327;
    color: #e2e8f0;
}

:root.darkMode #new_sch.newUnifiedSearch .newSearchHelp,
.darkMode #new_sch.newUnifiedSearch .newSearchHelp {
    color: #cbd5e1;
}

:root.darkMode .newListSummary,
:root.darkMode .newboardList .toolBox,
:root.darkMode .newCard,
:root.darkMode .newCardDate,
:root.darkMode .newChip,
:root.darkMode .newEmpty,
.darkMode .newListSummary,
.darkMode .newboardList .toolBox,
.darkMode .newCard,
.darkMode .newCardDate,
.darkMode .newChip,
.darkMode .newEmpty {
    border-color: #334155;
    background: #0f172a;
}

:root.darkMode .newListSummary strong,
:root.darkMode .newCardHead .new_tit,
.darkMode .newListSummary strong,
.darkMode .newCardHead .new_tit {
    color: #e5e7eb;
}

:root.darkMode .newListSummary span,
:root.darkMode .newCardDate,
:root.darkMode .newWriter,
:root.darkMode .newCheckAll,
:root.darkMode .newCheckWrap label,
.darkMode .newListSummary span,
.darkMode .newCardDate,
.darkMode .newWriter,
.darkMode .newCheckAll,
.darkMode .newCheckWrap label {
    color: #94a3b8;
}

:root.darkMode .newChip.newGroup,
.darkMode .newChip.newGroup {
    border-color: #35527d;
    background: #12233a;
    color: #93c5fd;
}

:root.darkMode .newChip.newBoard,
.darkMode .newChip.newBoard {
    border-color: #4c3c74;
    background: #1d1733;
    color: #c4b5fd;
}

:root.darkMode .newDeleteBtn,
.darkMode .newDeleteBtn {
    border-color: #7f1d1d;
    background: #2a1111;
    color: #fca5a5;
}

:root.darkMode .newEmpty,
.darkMode .newEmpty {
    color: #94a3b8;
}

@media (max-width: 768px) {
    #new_sch.newUnifiedSearch {
        padding: 14px;
        border-radius: 12px;
    }

    #new_sch.newUnifiedSearch .newSearchFilters {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .newListSummary {
        flex-direction: column;
        align-items: flex-start;
    }

    .newboardList .toolBox {
        flex-wrap: wrap;
    }

    .newCardHead {
        flex-direction: column;
    }

    .newCardDate {
        align-self: flex-start;
    }

    .newWriter {
        width: 100%;
        margin-left: 0;
    }
}
