.mupn-container {
    font-family: "Open Sans", sans-serif;
    background-color: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 24px;
    max-width: 100%;
    margin: 20px auto;
    box-sizing: border-box;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 24px;
}

#mupn-status {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 20px;
}

.mupn-categories {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.mupn-categories h4 {
    font-size: 18px;
    font-weight: 500;
    color: #202124;
    margin-top: 0;
    margin-bottom: 16px;
}

.mupn-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 24px;
    align-items: start;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 4px 0 12px;
}

.mupn-checkbox-label {
    display: block;
    position: relative;
    padding-left: 40px;
    min-height: 28px;
    margin: 0;
    cursor: pointer;
    font-size: 17px;
    line-height: 1.35;
    color: #3c4043;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    break-inside: avoid;
}

.mupn-checkbox-label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mupn-checkbox-label span {
    position: relative;
    display: block;
    min-width: 0;
    overflow-wrap: break-word;
}

.mupn-checkbox-label span::before {
    content: "";
    position: absolute;
    left: -40px;
    top: 0;
    height: 24px;
    width: 24px;
    background-color: #fff;
    border: 2px solid #5f6368;
    border-radius: 4px;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.mupn-checkbox-label span::after {
    content: "";
    position: absolute;
    display: none;
    left: -31px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.mupn-checkbox-label input:focus-visible ~ span::before {
    box-shadow: 0 0 0 3px rgba(150, 47, 51, 0.18);
}

.mupn-checkbox-label input:checked ~ span::after {
    display: block;
}

.mupn-checkbox-label input:checked ~ span::before {
    background-color: #962f33;
    border-color: #962f33;
}

.mupn-checkbox-label:hover input:not(:checked) ~ span::before {
    background-color: #f8f9fa;
}

.mupn-checkbox-label:hover input:checked ~ span::before {
    background-color: #7d272b;
    border-color: #7d272b;
}

.mupn-actions {
    margin-top: 24px;
    text-align: right;
}

.mupn-button {
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    padding: 0 24px;
    height: 36px;
    line-height: 36px;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.2s, background-color 0.2s;
}

.mupn-button-primary {
    background-color: #962f33;
    color: white;
}

.mupn-button-primary:hover {
    background-color: #a93438;
    box-shadow: 0 1px 3px 1px rgba(66, 64, 67, 0.15), 0 1px 2px 0 rgba(60, 64, 67, 0.3);
}

.mupn-button-secondary {
    background-color: transparent;
    color: #962f33;
    margin-left: 8px;
}

.mupn-button-secondary:hover {
    background-color: rgba(150, 47, 51, 0.04);
}

.mupn-button-success {
    background-color: #34a853 !important;
    color: white !important;
}

@media (max-width: 900px) {
    .mupn-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .mupn-container {
        padding: 18px;
    }

    .mupn-categories-grid {
        grid-template-columns: 1fr;
    }

    .mupn-checkbox-label {
        font-size: 16px;
    }
}
