#cve-table-filter,
#safe-table-filter {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    padding: 20px;
    margin-bottom: 20px;
}

/* Base button styles */
.cve-btn {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #409eff;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    transition: .1s;
    font-weight: 500;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 4px;
}

.cve-btn:hover,
.cve-btn:focus {
    color: #409eff;
    border-color: #c6e2ff;
    background-color: #ecf5ff;
}

.cve-btn:active {
    color: #3a8ee6;
    border-color: #3a8ee6;
    outline: none;
}

/* Primary button */
.cve-btn--primary {
    color: #fff;
    background-color: #409eff;
    border-color: #409eff;
}

.cve-btn--primary:hover,
.cve-btn--primary:focus {
    background: #66b1ff;
    border-color: #66b1ff;
    color: #fff;
}

/* Disabled state */
.cve-btn.is-disabled,
.cve-btn.is-disabled:hover,
.cve-btn.is-disabled:focus {
    color: #c0c4cc;
    cursor: not-allowed;
    background-image: none;
    background-color: #f5f7fa;
    border-color: #e4e7ed;
}

/* Primary button disabled state */
.cve-btn--primary.is-disabled,
.cve-btn--primary.is-disabled:hover,
.cve-btn--primary.is-disabled:focus {
    color: #fff;
    background-color: #a0cfff;
    border-color: #a0cfff;
}

/* Input styles */
.cve-input {
    position: relative;
    font-size: 14px;
    display: inline-block;
    width: 100%;
}

.cve-input__inner {
    -webkit-appearance: none;
    background-color: #fff;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    font-size: inherit;
    height: 40px;
    line-height: 40px;
    outline: none;
    padding: 0 15px;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    width: 100%;
}

.cve-input__inner:hover {
    border-color: #c0c4cc;
}

.cve-input__inner:focus {
    border-color: #409eff;
}

.cve-input.is-disabled .cve-input__inner {
    background-color: #f5f7fa;
    border-color: #e4e7ed;
    color: #c0c4cc;
    cursor: not-allowed;
}

/* Select styles */
.cve-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

.cve-select .cve-input__inner {
    cursor: pointer;
    padding-right: 30px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cve-select .cve-input__inner:after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-top-color: #c0c4cc;
    transition: transform .3s;
}

.cve-select.is-active .cve-input__inner:after {
    transform: translateY(-50%) rotate(180deg);
}

.cve-select__dropdown {
    position: absolute;
    z-index: 1001;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
    box-sizing: border-box;
    margin: 5px 0;
    width: 100%;
}

.cve-select__dropdown-item {
    font-size: 14px;
    padding: 0 20px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #606266;
    height: 34px;
    line-height: 34px;
    box-sizing: border-box;
    cursor: pointer;
}

.cve-select__dropdown-item:hover {
    background-color: #f5f7fa;
}

.cve-select__dropdown-item.selected {
    color: #409eff;
    font-weight: bold;
}

/* Severity options container styles */
#severity-options-container {
    padding: 5px 0;
    max-height: 274px;
    overflow-y: auto;
}

.severity-check {
    padding: 8px 20px;
    margin: 0;
    cursor: pointer;
    transition: background-color .3s;
    display: flex;
    align-items: center;
}

.severity-check:hover {
    background-color: #f5f7fa;
}

/* Element UI style checkbox */
.severity-check .form-check-input {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0;
    margin-right: 8px;
    border: 1px solid #dcdfe6;
    border-radius: 2px;
    background-color: #fff;
    transition: border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.severity-check .form-check-input:checked {
    background-color: #409eff;
    border-color: #409eff;
}

.severity-check .form-check-input:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 3px;
    height: 7px;
    border: 1px solid #fff;
    border-left: 0;
    border-top: 0;
    transform: rotate(45deg) scaleY(1);
    transition: transform .15s ease-in .05s;
    transform-origin: center;
}

.severity-check .form-check-input:hover {
    border-color: #409eff;
}

.severity-check .form-check-label {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    flex: 1;
}

.severity-check .form-check-label i {
    margin-right: 8px;
    font-size: 16px;
}

.severity-check .form-check-label span {
    color: #606266;
    font-size: 14px;
}

/* Custom scrollbar for severity options */
#severity-options-container::-webkit-scrollbar {
    width: 6px;
}

#severity-options-container::-webkit-scrollbar-thumb {
    background-color: #c0c4cc;
    border-radius: 3px;
}

#severity-options-container::-webkit-scrollbar-track {
    background-color: #f5f7fa;
}

/* Severity dropdown styles */
#severityDropdown {
    position: relative;
    padding-right: 30px;
}

#severityDropdown::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-top-color: #c0c4cc;
    transition: transform .3s;
}

#severityDropdown[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Element UI style input */
.cve-input {
    position: relative;
    font-size: 14px;
    display: inline-block;
    width: 100%;
}

.cve-input__inner {
    -webkit-appearance: none;
    background-color: #fff;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    font-size: inherit;
    height: 40px;
    line-height: 40px;
    outline: none;
    padding: 0 15px;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    width: 100%;
}

.cve-input__inner:hover {
    border-color: #c0c4cc;
}

.cve-input__inner:focus {
    border-color: #409eff;
}

.cve-input.is-disabled .cve-input__inner {
    background-color: #f5f7fa;
    border-color: #e4e7ed;
    color: #c0c4cc;
    cursor: not-allowed;
}

/* Input with icon */
.cve-input--prefix .cve-input__inner {
    padding-left: 30px;
}

.cve-input--suffix .cve-input__inner {
    padding-right: 30px;
}

.cve-input__prefix,
.cve-input__suffix {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #c0c4cc;
    font-size: 14px;
    line-height: 1;
    z-index: 1;
}

.cve-input__prefix {
    left: 10px;
}

.cve-input__suffix {
    right: 10px;
}

/* Input group */
.cve-input-group {
    display: inline-table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.cve-input-group__append,
.cve-input-group__prepend {
    background-color: transparent;
    color: #909399;
    vertical-align: middle;
    display: table-cell;
    position: relative;
    border: none;
    border-radius: 4px;
    padding: 0 15px;
    width: 1px;
    white-space: nowrap;
}

.cve-input-group__append {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0;
}

.cve-input-group__append .cve-btn {
    margin-left: 10px;
}

.cve-input-group__append .cve-btn.js_home_search {
    margin-left: 0;
}

.cve-input-group__append .cve-btn.js_home_update {
    margin-left: 20px;
}

.cve-input-group__prepend {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.cve-input-group .cve-input__inner {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.cve-input-group--append .cve-input__inner {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.cve-input-group--prepend .cve-input__inner {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Input sizes */
.cve-input--medium .cve-input__inner {
    height: 36px;
    line-height: 36px;
}

.cve-input--small .cve-input__inner {
    height: 32px;
    line-height: 32px;
}

.cve-input--mini .cve-input__inner {
    height: 28px;
    line-height: 28px;
}

/* Link styles */
.cve-link {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    position: relative;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: #409eff;
}

.cve-link:hover {
    color: #66b1ff;
}

.cve-link:active {
    color: #3a8ee6;
}

.cve-link.is-disabled {
    cursor: not-allowed;
    color: #c0c4cc;
}

.cve-link--primary {
    color: #409eff;
}

.cve-link--success {
    color: #67c23a;
}

.cve-link--warning {
    color: #e6a23c;
}

.cve-link--danger {
    color: #f56c6c;
}

.cve-link--info {
    color: #909399;
}

.cve-link--underline {
    text-decoration: underline;
}

.cve-link--underline:hover {
    text-decoration: none;
}

.cve-link [class*="cve-icon-"] + span {
    margin-left: 5px;
}



#filter-btn {
    margin-left: 10px;
    height: 40px;
    padding: 10px 12px;
}

#search-btn {
    margin: 0;
    color: #606266;
    height: 40px;
    padding: 10px 12px;
}


.cve-input__inner {
    font-size: 14px;
}

/* Module search styles */
.module-search-container {
    position: relative;
    width: 100%;
}

.module-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
    margin-top: 5px;
    max-height: 274px;
    overflow-y: auto;
}

.module-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color .3s;
    font-size: 14px;
    color: #606266;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.module-item:hover {
    background-color: #f5f7fa;
}

.module-item.selected {
    color: #409eff;
    font-weight: 500;
    background-color: #f5f7fa;
}

.no-results {
    padding: 8px 12px;
    color: #909399;
    text-align: center;
    font-size: 14px;
}

/* Custom scrollbar for module search results */
.module-search-results::-webkit-scrollbar {
    width: 6px;
}

.module-search-results::-webkit-scrollbar-thumb {
    background-color: #c0c4cc;
    border-radius: 3px;
}

.module-search-results::-webkit-scrollbar-track {
    background-color: #f5f7fa;
}

.home_title {
    color:#333;
    line-height: 32px;
    font-weight: 500;
}

.keyword-input__container {
    /* width: 300px; */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    padding: 0 12px;
    box-sizing: border-box;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
}

.keyword-input__container:hover {
    border-color: #c0c4cc;
}

.keyword-input__container:focus-within {
    border-color: #409eff;
    outline: 0;
}

.keyword-input__container .glyphicon {
    color: #c0c4cc;
    font-size: 14px;
    margin-right: 10px;
}

.keyword-input__container .cve-input__inner {
    flex: 1;
    height: 40px;
    line-height: 40px;
    padding: 0;
    background-color: transparent;
    border: none;
    outline: none;
    color: #606266;
    font-size: 14px;
}


.cve-search-group__container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Custom popover styles */
.cve-popover-container {
    position: relative;
    display: inline-block;
}

.cve-popover {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #0077FF;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s cubic-bezier(.645,.045,.355,1), visibility 0.2s cubic-bezier(.645,.045,.355,1);
    z-index: 2000;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
}

.cve-popover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px 4px 0;
    border-style: solid;
    border-color: #fff transparent transparent;
}

.cve-popover.show {
    opacity: 1;
    visibility: visible;
}