.container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 10px;
    background: #f7f8fb;
}

.toolbar {
    background: #ffffff;
    border-radius: 6px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.primaryBtn {
    background: #00aa6b;
    color: #fff;
    border: none;
    padding: 5px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.primaryBtn:hover {
    background: #00935d;
}

.plus {
    font-weight: 700;
    font-size: 16px;
}

.filters {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-left: auto;
    justify-content: flex-end;
}

.filterGroup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.label {
    color: #999;
}

.check {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #444;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.check input {
    margin: 0;
    accent-color: rgba(0, 212, 138, 1);
}

.check.red input,
.check.orange input,
.check.yellow input,
.check.blue input {
    accent-color: rgba(0, 212, 138, 1);
}

.check:has(input:checked) {
    background: #fff;
    // color: #fff;
    border-color: #fff;
}

.select {
    height: 28px;
    min-width: 110px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 0 8px;
    background: #fff;
    color: #333;
    line-height: 28px;
}

.confirmBtn {
    padding: 5px 16px;
    height: 28px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confirmBtn:hover {
    border-color: #999;
}

.boardGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 12px;
}

.boardCard {
    position: relative;
    padding: 12px;
    // border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #f1f1f1;
}

.boardHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.boardTitle {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.subtitle {
    font-size: 12px;
    color: #888;
}

.badge {
    background: rgba(255, 83, 83, 0.12);
    color: #e64545;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 12px;
}

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

.riskItem {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 10px 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.riskItemHeader {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.riskCode {
    font-weight: 700;
    color: #333;
}

.statusTag {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid transparent;
}

.statusProcessing {
    background: #fff4e6;
    color: #ff8a00;
    border-color: #ffd7a8;
}

.statusTodo {
    background: #e6f4ff;
    color: #2c7dfa;
    border-color: #c8e1ff;
}

.statusDone {
    background: #e8fbef;
    color: #17a55a;
    border-color: #c8f1da;
}

.riskDesc {
    color: #555;
    font-size: 13px;
    margin-bottom: 6px;
}

.riskMeta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 6px;
    font-size: 12px;
    color: #777;
}

.red {
    background-color: #fff;
}

.orange {
    background-color: #Fff;
}

.yellow {
    background-color: #Fff;
}

.blue {
    background-color: #Fff;
}

.boardCard.red .boardTitle {
    color: #ff4d4f;
}

.boardCard.red {
    background: linear-gradient(180deg, rgba(255, 87, 87, 0.4) 0%, rgba(255, 255, 255, 0) 32.49%);
    border: 1px solid;
    border-image-source: linear-gradient(180deg, #ff9f9f 0%, #ffdada 100%);
    border-image-slice: 1;
}

.boardCard.red .riskItem {
    background: rgba(255, 61, 61, 0.09);
    border-color: rgba(255, 184, 184, 1);
}

.boardCard.orange {
    background:linear-gradient(180deg, rgba(255, 114, 38, 0.4) 0%, rgba(255, 255, 255, 0) 32.49%);
    border: 1px solid;
    border-image-source: linear-gradient(180deg, rgba(255, 114, 38, 0.4) 0%, rgba(255, 255, 255, 0) 32.49%);
    border-image-slice: 1;
}

.boardCard.orange .riskItem {
    background: rgba(255, 165, 61, 0.09);
    border-color: rgba(255, 202, 141, 1);
}

.boardCard.yellow {
    background: linear-gradient(180deg, rgba(255, 213, 43, 0.4) 0%, rgba(255, 255, 255, 0) 32.49%);
    border: 1px solid;
    border-image-source: linear-gradient(180deg, #ffdc4a 0%, #ffdada 100%);
    border-image-slice: 1;
}

.boardCard.yellow .riskItem {
    background: rgba(255, 197, 38, 0.09);
    border-color: rgba(255, 229, 186, 1);
}

.boardCard.blue {
    background: linear-gradient(180deg, rgba(109, 223, 255, 0.4) 0%, rgba(255, 255, 255, 0) 32.49%);
    border: 1px solid;
    border-image-source: linear-gradient(180deg, #78e1ff 0%, #ffdada 100%);
    border-image-slice: 1;
}

.boardCard.blue .riskItem {
    background: rgba(105, 198, 255, 0.09);
    border-color: rgba(181, 227, 255, 1);
}

.boardCard.orange .boardTitle {
    color: #ff8a00;
}

.boardCard.yellow .boardTitle {
    color: #d4a600;
}

.boardCard.blue .boardTitle {
    color: #2c7dfa;
}

.boardCard.red .badge {
    background: rgba(255, 77, 79, 0.12);
    color: #e64545;
}

.boardCard.orange .badge {
    background: rgba(255, 165, 0, 0.12);
    color: #d97a00;
}

.boardCard.yellow .badge {
    background: rgba(255, 203, 60, 0.12);
    color: #c29800;
}

.boardCard.blue .badge {
    background: rgba(44, 125, 250, 0.12);
    color: #2c7dfa;
}