:where([class^="ri-"])::before {
    content: "\f3c2";
}

body {
    background-color: #121212;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.widget {
    background-color: #1A1A1A;
    border: 1px solid #006400;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #006400;
    border-radius: 4px;
    background-color: transparent;
    position: relative;
}

input[type="checkbox"]:checked {
    background-color: transparent;
    border-color: #006400;
}

input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #006400;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    border: 1px solid #006400;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 1px;
    background-color: #006400;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: transparent;
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: transparent;
    border: 1px solid #006400;
    outline: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #006400;
    cursor: pointer;
}

.custom-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #006400;
    cursor: pointer;
}

.severity-critical {
    background-color: transparent;
    border: 1px solid #F44336;
    color: #F44336;
}

.severity-warning {
    background-color: transparent;
    border: 1px solid #FFB300;
    color: #FFB300;
}

.severity-info {
    background-color: transparent;
    border: 1px solid #2196F3;
    color: #2196F3;
}

.widget-header {
    border-bottom: 1px solid #006400;
}

.resize-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    bottom: 0;
    right: 0;
    cursor: se-resize;
}