 @import url('https://fonts.googleapis.com/css2?family=Arial:wght@400;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
li {
  list-style: none;
}
:root {
  --arial: 'Arial', sans-serif;
  --light: #f4f4f4;
  --blue: #3498db;
  --light-blue: #CFE8FF;
  --grey: #eee;
  --dark-grey: #AAAAAA;
  --dark: #2c3e50;
  --red: #e74c3c;
  --yellow: #FFCE26;
  --light-yellow: #FFF2C6;
  --orange: #FD7238;
  --light-orange: #FFE0D3;
  --text-color: #333;
  --dark-text-color: #fff;
  --card-bg: #ffffff;
  --dark-card-bg: #1a1b26;
}
html {
  overflow-x: hidden;
}
body {
  background: var(--grey);
  overflow-x: hidden;
  font-family: var(--arial) !important;
}
/* SIDEBAR */
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--dark);
  z-index: 2000;
  font-family: var(--arial) !important;
  transition: .3s ease;
  overflow-x: hidden;
  scrollbar-width: none;
}
#sidebar::-webkit-scrollbar {
  display: none;
}
#sidebar.hide {
  width: 60px;
}
#sidebar .brand {
  font-size: 24px;
  font-weight: 700;
  height: 56px;
  display: flex;
  align-items: center;
  color: var(--blue);
  position: sticky;
  top: 0;
  left: 0;
  background: var(--dark);
  z-index: 500;
  padding-bottom: 20px;
  box-sizing: content-box;
}
#sidebar .brand .bx {
  min-width: 60px;
  display: flex;
  justify-content: center;
}
#sidebar .side-menu {
  width: 100%;
  margin-top: 28px;
}
#sidebar .side-menu li {
  height: 48px;
  background: transparent;
  margin-left: 6px;
  border-radius: 40px 0 0 48px;
  padding: 4px;
}
#sidebar .side-menu li.active {
  background: var(--grey);
  position: relative;
}
#sidebar .side-menu li.active::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  top: -40px;
  right: 0;
  box-shadow: 20px 20px 0 var(--grey);
  z-index: -1;
}
#sidebar .side-menu li.active::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  bottom: -40px;
  right: 0;
  box-shadow: 20px -20px 0 var(--grey);
  z-index: -1;
}
#sidebar .side-menu li a {
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  align-items: center;
  border-radius: 48px;
  font-size: 16px;
  color: white;
  white-space: nowrap;
  overflow-x: hidden; 
  overflow-y: hidden;
}
#sidebar .side-menu.top li.active a {
  color: var(--blue);
}
#sidebar.hide .side-menu li a {
  width: calc(48px - (4px * 2));
  transition: width .3s ease;
}
#sidebar .side-menu li a.logout {
  color: var(--red);
}
#sidebar .side-menu.top li a:hover {
  color: var(--blue);
}
#sidebar .side-menu li a .bx {
  min-width: calc(60px - ((4px + 6px) * 2));
  display: flex;
  justify-content: center;
}
#sidebar.hide .dropdown-container {
  padding: 12px;
  margin-bottom: 5px;
}
#sidebar.hide .dropdown-btn {
  padding: 12px 0;
  justify-content: center;
  border-radius: 8px;
}
#sidebar.hide .dropdown-btn span {
  display: none;
}
#sidebar.hide .dropdown-btn .bx {
  margin-right: 0 !important;
}
#sidebar.hide .dropdown-content {
  position: absolute;
  left: 100%;
  top: 0;
  width: 200px;
  margin-top: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
#sidebar.hide .dropdown-item {
  padding: 12px 15px;
  margin: 0 0 4px;
}
#sidebar.hide .dropdown-item i {
  margin-right: 12px;
}
ol, ul{
  padding-left: 0px !important;
}
/* CONTENT */
#content {
  position: relative;
  width: calc(100% - 280px);
  left: 280px;
  transition: .3s ease;
}
#sidebar.hide ~ #content {
  width: calc(100% - 60px);
  left: 60px;
}
/* NAVBAR */
#content nav {
  height: 56px;
  background: var(--dark);
  padding: 0 24px;
  display: flex;
  align-items: center;
  grid-gap: 24px;
  font-family: var(--arial) !important;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  color: white;
  justify-content: end;
}
#content nav::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  bottom: -40px;
  left: 0;
  border-radius: 50%;
  box-shadow: -20px -20px 0 var(--dark);
}
#content nav a {
  color: white;
}
#content nav .bx.bx-menu {
  cursor: pointer;
  color: white;
}
#content nav .nav-link {
  font-size: 16px;
  transition: .3s ease;
}
#content nav .nav-link:hover {
  color: var(--blue);
}
#content nav form {
  max-width: 400px;
  width: 100%;
  margin-right: auto;
}
#content nav form .form-input {
  display: flex;
  align-items: center;
  height: 36px;
}
#content nav form .form-input input {
  flex-grow: 1;
  padding: 0 16px;
  height: 100%;
  border: none;
  background: var(--grey);
  border-radius: 36px 0 0 36px;
  outline: none;
  width: 100%;
  color: var(--dark);
}
#content nav form .form-input button {
  width: 36px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--blue);
  color: var(--light);
  font-size: 18px;
  border: none;
  outline: none;
  border-radius: 0 36px 36px 0;
  cursor: pointer;
}
#content nav .notification {
  font-size: 20px;
  position: relative;
}
#content nav .notification .num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  background: var(--red);
  color: var(--light);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#content nav .profile img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}
#content nav .switch-mode {
  display: block;
  min-width: 50px;
  height: 25px;
  border-radius: 25px;
  background: var(--grey);
  cursor: pointer;
  position: relative;
}
#content nav .switch-mode::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  bottom: 2px;
  width: calc(25px - 4px);
  background: var(--blue);
  border-radius: 50%;
  transition: all .3s ease;
}
#content nav #switch-mode:checked + .switch-mode::before {
  left: calc(100% - (25px - 4px) - 2px);
}
/* MAIN */
#content main {
  width: 100%;
  padding: 0px 17px 0px 7px;
  font-family: var(--arial) !important;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}
#content main .head-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-gap: 16px;
  flex-wrap: wrap;
}
#content main .head-title .left h1 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}
#content main .head-title .left .breadcrumb {
  display: flex;
  align-items: center;
  grid-gap: 16px;
}
#content main .head-title .left .breadcrumb li {
  color: var(--dark);
}
#content main .head-title .left .breadcrumb li a {
  color: var(--dark-grey);
  pointer-events: none;
}
#content main .head-title .left .breadcrumb li a.active {
  color: var(--blue);
  pointer-events: unset;
}
#content main .head-title .btn-download {
  height: 36px;
  padding: 0 16px;
  border-radius: 36px;
  background: var(--blue);
  color: var(--light);
  display: flex;
  justify-content: center;
  align-items: center;
  grid-gap: 10px;
  font-weight: 500;
}
/* Box Info */
#content main .box-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 24px;
  margin-top: 36px;
}
#content main .box-info li {
  padding: 24px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  grid-gap: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
#content main .box-info li:hover {
  transform: translateY(-5px);
}
#content main .box-info li .bx {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  font-size: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#content main .box-info li:nth-child(1) .bx {
  background: var(--light-blue);
  color: var(--blue);
}
#content main .box-info li:nth-child(2) .bx {
  background: var(--light-yellow);
  color: var(--yellow);
}
#content main .box-info li:nth-child(3) .bx {
  background: var(--light-orange);
  color: var(--orange);
}
#content main .box-info li .text h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
}
#content main .box-info li .text p {
  color: var(--dark);
}
/* Table Data */
#content main .table-data {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 24px;
  margin-top: 24px;
  width: 100%;
  color: var(--dark);
}
#content main .table-data > div {
  border-radius: 8px;
  background: white;
  padding: 24px;
  overflow-x: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#content main .table-data .head {
  display: flex;
  align-items: center;
  grid-gap: 16px;
  margin-bottom: 24px;
}
#content main .table-data .head h3 {
  margin-right: auto;
  font-size: 24px;
  font-weight: 600;
}
#content main .table-data .head .bx {
  cursor: pointer;
}
#content main .table-data .order {
  flex-grow: 1;
  flex-basis: 500px;
}
#content main .table-data .order table {
  width: 100%;
  border-collapse: collapse;
}
#content main .table-data .order table th {
  padding-bottom: 12px;
  font-size: 13px;
  text-align: left;
  border-bottom: 1px solid var(--grey);
}
#content main .table-data .order table td {
  padding: 16px 0;
}
#content main .table-data .order table tr td:first-child {
  display: flex;
  align-items: center;
  grid-gap: 12px;
  padding-left: 6px;
}
#content main .table-data .order table td img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
#content main .table-data .order table tbody tr:hover {
  background: var(--grey);
}
#content main .table-data .order table tr td .status {
  font-size: 10px;
  padding: 6px 16px;
  color: var(--light);
  border-radius: 20px;
  font-weight: 700;
}
#content main .table-data .order table tr td .status.completed {
  background: var(--blue);
}
#content main .table-data .order table tr td .status.process {
  background: var(--yellow);
}
#content main .table-data .order table tr td .status.pending {
  background: var(--orange);
}
#content main .table-data .todo {
  flex-grow: 1;
  flex-basis: 300px;
}
#content main .table-data .todo .todo-list {
  width: 100%;
}
#content main .table-data .todo .todo-list li {
  width: 100%;
  margin-bottom: 16px;
  background: var(--grey);
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#content main .table-data .todo .todo-list li .bx {
  cursor: pointer;
}
#content main .table-data .todo .todo-list li.completed {
  border-left: 10px solid var(--blue);
}
#content main .table-data .todo .todo-list li.not-completed {
  border-left: 10px solid var(--orange);
}
#content main .table-data .todo .todo-list li:last-child {
  margin-bottom: 0;
}
/* Content Sections */
/* .content-section {
  display: none;
} */
.content-section {
  display: block;
}
/* Section Header Styles */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  margin-right: 30px;
  margin-left: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
}
.section-actions {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.btn-action {
  padding: 8px 16px;
  background: #3742fa;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}
.btn-action:hover {
  background: #2d37f1;
}
/* Card Styling */
.card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}
/* Table Styling */
.table-container {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.data-table th,
.data-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.data-table th {
  background: rgba(55, 66, 250, 0.1);
  font-weight: 600;
  color: #3742fa;
}
.data-table tr:last-child td {
  border-bottom: none;
}
/* Status Indicators */
.status-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}
.status-critical {
  background-color: #ff4757;
}
.status-high {
  background-color: #ff6b81;
}
.status-medium {
  background-color: #ffa502;
}
.status-low {
  background-color: #2ed573;
}
.status-completed {
  background-color: #2ed573;
}
.status-pending {
  background-color: #ff6b81;
}
.status-process {
  background-color: #ffa502;
}
/* Stats Cards */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.stat-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.stat-value {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-color);
}
.stat-label {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
}
/* Chart Container */
.chart-container {
  height: 300px;
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}
.sigma-legend {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
}
.legend-item {
  display: flex;
  align-items: center;
  margin: 4px 0;
}
.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  margin-right: 8px;
}
/* Image Styling */
.section-image {
  width: 100%;
  height: 200px;
  background: #f0f0f0;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.section-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}
/* Alert Banner */
.alert-banner {
  background: #ff6b81;
  color: white;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Timeline */
.timeline {
  margin-top: 20px;
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
}
.timeline-item:before {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  width: 10px;
  height: 10px;
  background: #3742fa;
  border-radius: 50%;
}
.timeline-item:after {
  content: '';
  position: absolute;
  left: 15px;
  top: 20px;
  bottom: 0;
  width: 1px;
  background: #ddd;
}
.timeline-item:last-child:after {
  display: none;
}
.timeline-time {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  margin-right: 10px;
  flex-shrink: 0;
}
.timeline-content {
  flex-grow: 1;
  background: var(--card-bg);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/* Tab Navigation */
.tab-navigation {
  display: flex;
  margin-bottom: 10px;
}
.nav-btn.disabled {
    opacity: 0.3;
}

.nav-btn.disabled > .nav-link {
    cursor: default;
}

.nav-btn.disabled:hover {
    background-color: unset !important;
    color: #ffffff !important;
}


.tab-item {
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-color);
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}
.tab-item.active {
  color: #3742fa;
  border-bottom: 3px solid #3742fa;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
/* Dropdown Styles */
.dropdown-container {
  position: relative;
  width: 100%;
  padding: 0 15px;
  margin-bottom: 60px;
}
.dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 15px;
  background: #3742fa;
  border: none;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s ease;
  text-align: left;
  box-shadow: 0 2px 8px rgba(55, 66, 250, 0.3);
}
.dropdown-btn:hover {
  background: #2d37f1;
  box-shadow: 0 4px 12px rgba(55, 66, 250, 0.4);
}
.dropdown-btn .dropdown-icon {
  color: white;
}
.dropdown-btn.active {
  background: #2d37f1;
}
.dropdown-icon {
  transition: transform 0.3s ease;
  font-size: 18px;
}
.dropdown-btn.active .dropdown-icon {
  transform: rotate(180deg);
}
.dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  margin-top: 8px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
}
.dropdown-content.show {
  max-height: 200px;
  opacity: 1;
}
.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 15px 12px 40px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 6px;
  margin: 0 8px 4px;
  cursor: pointer;
}
.dropdown-item:hover {
  background: #f0f4ff;
  color: #3742fa;
}
.dropdown-item i {
  margin-right: 12px;
  font-size: 16px;
  color: #3742fa;
}
.dropdown-item.selected {
  background: #e6ebff;
  color: #3742fa;
  font-weight: 600;
  border-left: 3px solid #3742fa;
}
/* SPYGLASS SECTION */
.spyglass-header {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
}
.spyglass-logo {
  font-size: 48px;
  margin-bottom: 10px;
}
.spyglass-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.spyglass-description {
  font-size: 14px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}
.spyglass-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #4ecdc4, transparent);
  margin: 20px 0;
}
.scan-list {
  display: flex;
  flex-direction: column;
  justify-items: center;
  gap: 15px;
}
.scan-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}
.scan-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.scan-domain {
  font-size: 18px;
  font-weight: 600;
  color: #04201e;
}
.scan-times {
  display: flex;
  gap: 20px;
  align-items: center;
}
.scan-time {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.scan-time-label {
  font-size: 12px;
  color: rgba(22, 11, 11, 0.6);
}
.scan-time-value {
  font-size: 14px;
  font-weight: 500;
}
.scan-status {
  display: flex;
  align-items: center;
  gap: 10px;
}
.scan-status-text {
  font-size: 14px;
  font-weight: 500;
}
.scan-status-badge {
  padding: 4px 8px;
  background: #4ecdc4;
  color: black;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.start-scan-btn,
.spyglass-button {
  background: transparent;
  border: 2px solid #4ecdc4;
  color: #4ecdc4;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.start-scan-btn:hover,
.spyglass-button:hover {
  background: rgba(78, 205, 196, 0.2);
}
/* PORT SCAN SECTION */
#port-scan-section .portscan-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--card-bg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
#port-scan-section .portscan-table th,
#port-scan-section .portscan-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-color);
}
#port-scan-section .portscan-table th {
  background: rgba(78, 205, 196, 0.1);
  font-weight: 600;
  color: #3742fa;
  border-top: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#port-scan-section .portscan-table tr:last-child td {
  border-bottom: none;
}
#port-scan-section .portscan-table .select-all {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: rgba(78, 205, 196, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#port-scan-section .portscan-table .select-all input {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #3742fa;
}
#port-scan-section .portscan-table .checkbox {
  width: 16px;
  height: 16px;
  accent-color: #3742fa;
  margin: 0;
}
#port-scan-section .portscan-table tbody tr:hover {
  background: rgba(78, 205, 196, 0.05);
}
.portscan-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--card-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.portscan-pagination .page-info {
  font-size: 14px;
  color: var(--text-color);
}
.portscan-pagination .pagination-buttons {
  display: flex;
  gap: 5px;
}
.portscan-pagination .page-btn {
  width: 24px;
  height: 24px;
  background: transparent;
  border: 1px solid #3742fa;
  color: #3742fa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
  border-radius: 4px;
}
.portscan-pagination .page-btn:hover {
  background: rgba(55, 66, 250, 0.1);
}
.portscan-pagination .page-btn.active {
  background: #3742fa;
  color: white;
}
.action-button {
  padding: 6px 12px;
  background: #3742fa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}
.action-button:hover {
  background: #2d37f1;
}

.section-header {
   text-align: center;
  padding: 15px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  border-radius: 10px;
  margin-bottom: 5px;
  position: relative;
}
/* SIP PROTECTION SECTION */
.sip-protection-header {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
}
.sip-protection-logo {
  font-size: 48px;
  margin-bottom: 10px;
}
.sip-protection-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.sip-protection-description {
  font-size: 14px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}
.sip-protection-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #4ecdc4, transparent);
  margin: 20px 0;
}
.sip-protection-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
.sip-protection-btn {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid #4ecdc4;
  color: #4ecdc4;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 150px;
  text-align: center;
}
.sip-protection-btn:hover {
  background: rgba(78, 205, 196, 0.2);
}
.sip-protection-btn.active {
  background: #4ecdc4;
  color: black;
}
.sip-protection-config {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.sip-protection-config h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}
.config-group {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(78, 205, 196, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(78, 205, 196, 0.2);
}
.config-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}
.config-option {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}
.config-option label {
  margin: 0;
  min-width: 180px;
  color: var(--text-color);
  cursor: pointer;
}
.config-option input,
.config-option select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  color: #333;
  flex: 1;
}
.config-option input[type="checkbox"],
.config-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #3742fa;
  margin: 0;
  flex: 0 0 auto;
}
.sip-protection-status {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.sip-protection-status h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.status-item {
  padding: 15px;
  background: rgba(78, 205, 196, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(78, 205, 196, 0.2);
}
.status-label {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-color);
}
.status-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
}
.status-enabled {
  color: #2ed573;
  font-weight: 600;
}
.status-disabled {
  color: #ff4757;
  font-weight: 600;
}
.sip-protection-timeline {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.sip-protection-timeline h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}
.sip-protection-timeline .timeline-item:after {
  background: #4ecdc4;
}
/* VULNERABILITY SCAN SECTION */
.vulnerability-header {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
}
.vulnerability-logo {
  font-size: 48px;
  margin-bottom: 10px;
}
.vulnerability-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.vulnerability-description {
  font-size: 14px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}
.vulnerability-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6b81, transparent);
  margin: 20px 0;
}
.vulnerability-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
.vulnerability-btn {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid #ff6b81;
  color: #ff6b81;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 150px;
  text-align: center;
}
.vulnerability-btn:hover {
  background: rgba(255, 107, 129, 0.2);
}
.vulnerability-btn.active {
  background: #ff6b81;
  color: black;
}
.vulnerability-scan-list .scan-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.scan-item-header {
  display: flex;
  align-items: center;
  gap: 15px;
}
.scan-findings {
  font-weight: 600;
  font-size: 16px;
  color: #ff6b81;
}
.scan-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.scan-action-btn {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid #ff6b81;
  color: #ff6b81;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.scan-action-btn:hover {
  background: rgba(255, 107, 129, 0.2);
}
.vulnerability-graph-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}
.vulnerability-summary {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.vulnerability-summary-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}
.summary-table {
  width: 100%;
  border-collapse: collapse;
}
.summary-table th,
.summary-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
.summary-table th {
  background: rgba(255, 107, 129, 0.1);
  font-weight: 600;
  color: var(--text-color);
}
.summary-table tr:last-child td {
  border-bottom: none;
}
.remediation-plan {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.remediation-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}
.remediation-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.remediation-item {
  padding: 12px;
  background: rgba(255, 107, 129, 0.05);
  border-radius: 6px;
  margin-bottom: 10px;
  border-left: 4px solid #ff6b81;
}

 .vulnerability-stats, .threat-feeds-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Exactly 4 equal columns */
    gap: 20px;
    margin-bottom: 30px;
  }
/* THREAT FEEDS SECTION */
.threat-feeds-header {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
}
.threat-feeds-logo {
  font-size: 48px;
  margin-bottom: 10px;
}
.threat-feeds-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.threat-feeds-description {
  font-size: 14px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}
.threat-feeds-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6b81, transparent);
  margin: 20px 0;
}
.threat-feeds-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
.threat-feeds-btn {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid #ff6b81;
  color: #ff6b81;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 150px;
  text-align: center;
}
.threat-feeds-btn:hover {
  background: rgba(255, 107, 129, 0.2);
}
.threat-feeds-btn.active {
  background: #ff6b81;
  color: black;
}
.threat-feeds-graph-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}
.threat-feeds-summary {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.threat-feeds-summary-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}
.threat-feeds-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.threat-feeds-table th,
.threat-feeds-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.threat-feeds-table th {
  background: rgba(255, 107, 129, 0.1);
  font-weight: 600;
  color: var(--text-color);
}
.threat-feeds-table tr:last-child td {
  border-bottom: none;
}
.threat-feeds-sources {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.threat-feeds-sources-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}
.threat-feeds-sources-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.threat-feeds-source-item {
  padding: 12px;
  background: rgba(255, 107, 129, 0.05);
  border-radius: 6px;
  margin-bottom: 10px;
  border-left: 4px solid #ff6b81;
}
.threat-feed-item {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-left: 3px solid #ff6b81;
  position: relative;
}
.threat-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.threat-feed-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-color);
  flex: 1;
}
.threat-feed-date {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  margin-left: 20px;
}
.threat-feed-description {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 10px;
}
.threat-feed-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.threat-feed-action-btn {
  padding: 4px 8px;
  background: transparent;
  border: 1px solid #ff6b81;
  color: #ff6b81;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.threat-feed-action-btn:hover {
  background: rgba(255, 107, 129, 0.2);
}
.feed-type-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.feed-type-tab {
  padding: 8px 16px;
  background: rgba(255, 107, 129, 0.1);
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}
.feed-type-tab.active {
  background: #ff6b81;
  color: black;
}
/* OS INSIGHTS SECTION */
.os-insights-header {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
}
.os-insights-logo {
  font-size: 48px;
  margin-bottom: 10px;
}
.os-insights-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.os-insights-description {
  font-size: 14px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}
.os-insights-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #4ecdc4, transparent);
  margin: 20px 0;
}
.os-insights-header .tab-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.os-insights-header .tab-item {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.8);
}
.os-insights-header .tab-item.active {
  background: #4ecdc4;
  color: black;
}
.os-insights-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.os-insights-btn {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid #4ecdc4;
  color: #4ecdc4;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 150px;
}
.os-insights-btn:hover {
  background: rgba(78, 205, 196, 0.2);
}
.pagination-info {
  text-align: right;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}
/* INVESTIGATIONS SECTION */
.investigations-header {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
}
.investigations-logo {
  font-size: 48px;
  margin-bottom: 10px;
}
.investigations-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.investigations-description {
  font-size: 14px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}
.investigations-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #4ecdc4, transparent);
  margin: 20px 0;
}
.investigations-header .tab-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.investigations-header .tab-item {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.8);
}
.investigations-header .tab-item.active {
  background: #4ecdc4;
  color: black;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 12px 20px;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.filter-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
}
.severity-select {
  padding: 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  background: white;
  color: var(--text-color);
  font-family: var(--arial) !important;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.severity-select:focus {
  border-color: #3742fa;
}
.ticket-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.ticket-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.modal-open .ticket-card:hover {
  transform: none;
}
.ticket-header {
  padding: 20px;
  background: rgba(78, 205, 196, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ticket-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}
.ticket-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}
.severity-low { background: #2ed573; color: black; }
.severity-medium { background: #ffa502; color: black; }
.severity-high { background: #ff6b81; color: white; }
.severity-critical { background: #ff4757; color: white; }
.status-open { background: #4ecdc4; color: black; }
.ticket-body {
  padding: 20px;
  background: var(--card-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ticket-desc {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 12px;
  line-height: 1.5;
}
.btn-show-desc {
  background: transparent;
  border: none;
  color: #3742fa;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.btn-show-desc:hover {
  text-decoration: underline;
}
.ticket-actions {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background: rgba(78, 205, 196, 0.05);
}
.btn-assign {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #3742fa;
  color: #3742fa;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-assign:hover {
  background: rgba(55, 66, 250, 0.1);
}
.btn-action {
  padding: 8px 16px;
  background: #4ecdc4;
  color: black;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-action:hover {
  background: #3ddfd9;
}
.tab-content-container {
  margin-top: 20px;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
  #sidebar {
    width: 200px;
  }
  #content {
    width: calc(100% - 60px);
    left: 200px;
  }
  #content nav .nav-link {
    display: none;
  }
  .section-header {
    flex-direction: column;
    align-items: stretch;
  }
  .section-actions {
    width: 100%;
    justify-content: center;
  }
  .stats-row,
  .status-grid,
  .threat-feeds-stats,
  .vulnerability-stats{
    grid-template-columns: 1fr;
  }
  .scan-item {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .scan-times {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .scan-time {
    min-width: 120px;
    width: 100%;
  }
  .scan-status {
    width: 100%;
    justify-content: space-between;
  }
  .spyglass-button,
  .os-insights-btn {
    width: 100%;
    text-align: center;
  }
  .vulnerability-actions,
  .threat-feeds-actions,
  .sip-protection-actions {
    flex-direction: column;
    gap: 10px;
  }
  .vulnerability-btn,
  .threat-feeds-btn,
  .sip-protection-btn {
    padding: 10px 15px;
    font-size: 14px;
    min-width: auto;
    width: 100%;
  }
  .card,
  .sip-protection-config,
  .sip-protection-status,
  .sip-protection-timeline,
  .vulnerability-graph-container,
  .vulnerability-summary,
  .remediation-plan,
  .threat-feeds-graph-container,
  .threat-feeds-summary,
  .threat-feeds-sources {
    padding: 15px;
  }
  .config-group {
    padding: 10px;
  }
  .config-option label {
    min-width: 120px;
  }
  .summary-table th,
  .summary-table td,
  .threat-feeds-table th,
  .threat-feeds-table td {
    padding: 8px;
    font-size: 14px;
  }
  .investigations-header {
    padding: 20px 15px;
  }
  .investigations-title {
    font-size: 24px;
  }
  .filter-bar {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }
  .ticket-card {
    margin-bottom: 16px;
  }
  .ticket-header,
  .ticket-body,
  .ticket-actions {
    padding: 16px;
  }
  .tab-navigation {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 576px) {
  #content nav form .form-input input {
    display: none;
  }
  #content nav form .form-input button {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: none;
    color: var(--dark);
  }
  #content nav form.show .form-input input {
    display: block;
    width: 100%;
  }
  #content nav form.show .form-input button {
    width: 36px;
    height: 100%;
    border-radius: 0 36px 36px 0;
    color: var(--light);
    background: var(--red);
  }
  #content nav form.show ~ .notification,
  #content nav form.show ~ .profile {
    display: none;
  }
  #content main .box-info {
    grid-template-columns: 1fr;
  }
  #content main .table-data .head {
    min-width: 420px;
  }
  #content main .table-data .order table {
    min-width: 420px;
  }
  #content main .table-data .todo .todo-list {
    min-width: 420px;
  }
  .investigations-header {
    padding: 15px 10px;
  }
  .investigations-title {
    font-size: 20px;
  }
  .ticket-title {
    font-size: 16px;
  }
  .btn-assign,
  .btn-action {
    padding: 6px 12px;
    font-size: 12px;
  }
  .scan-domain {
    font-size: 16px;
  }
  .scan-time-label,
  .scan-time-value {
    font-size: 12px;
  }
  .stat-value {
    font-size: 20px;
  }
  .stat-label {
    font-size: 12px;
  }
  .vulnerability-graph-title,
  .vulnerability-summary-title,
  .remediation-title,
  .threat-feeds-graph-title,
  .threat-feeds-summary-title,
  .threat-feeds-sources-title {
    font-size: 16px;
  }
}

 /* Card Styling */
        .card {
            background: var(--card-bg);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        .card-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--text-color);
        }
        /* Stats Cards */
        .stats-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }
        .stat-card {
            background: var(--card-bg);
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        .stat-value {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 5px;
            color: var(--text-color);
        }
        .stat-label {
            font-size: 14px;
            color: rgba(0, 0, 0, 0.6);
        }
        /* Chart Container */
        .chart-container {
            height: 300px;
            background: var(--card-bg);
            border-radius: 10px;
            overflow: hidden;
            margin-top: 20px;
        }
        .sigma-container {
            width: 100%;
            height: 900px;
            margin: 20px 0;
            position: relative;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            background: #f8f9fa;
        }
        .sigma-legend {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(255, 255, 255, 0.9);
            padding: 10px;
            border-radius: 6px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            z-index: 10;
        }
        .legend-item {
            display: flex;
            align-items: center;
            margin: 4px 0;
        }
        .legend-color {
            width: 12px;
            height: 12px;
            border-radius: 2px;
            margin-right: 8px;
        }
        /* Dashboard Specific Styles */
        .dashboard-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }
        .dashboard-card {
            background: var(--card-bg);
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        .dashboard-card-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text-color);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .dashboard-card-value {
            font-size: 28px;
            font-weight: 700;
            color: var(--blue);
        }
        .dashboard-card-desc {
            font-size: 14px;
            color: rgba(0, 0, 0, 0.6);
            margin-top: 5px;
        }
        .graph-title {
            font-size: 18px;
            font-weight: 600;
            margin: 15px 0;
            color: var(--text-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .graph-title i {
            color: var(--blue);
        }
        .graph-container {
            background: var(--card-bg);
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }
        .graph-stats {
            display: flex;
            justify-content: space-around;
            margin-top: 15px;
            text-align: center;
        }
        .graph-stat {
            padding: 10px;
        }
        .graph-stat-value {
            font-size: 24px;
            font-weight: 700;
            color: var(--blue);
        }
        .graph-stat-label {
            font-size: 14px;
            color: rgba(0, 0, 0, 0.6);
            margin-top: 5px;
        }
        .loading {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
            color: var(--text-color);
            font-size: 18px;
        }
        .loading-spinner {
            border: 4px solid rgba(55, 66, 250, 0.2);
            border-top: 4px solid #3742fa;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            /* Fanimation: spin 1s linear infinite; */
            margin-right: 15px;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        /* Responsive Design */
        @media screen and (max-width: 768px) {
            #sidebar {
                width: 200px;
            }
            #content {
                width: calc(100% - 60px);
                left: 200px;
            }
            #content nav .nav-link {
                display: none;
            }
            .section-header {
                flex-direction: column;
                align-items: stretch;
            }
            .section-actions {
                width: 100%;
                justify-content: center;
            }
            .stats-row,
            .dashboard-cards {
                grid-template-columns: 1fr;
            }
            .sigma-container {
                height: 300px;
            }
        }
        @media screen and (max-width: 576px) {
            #content nav form .form-input input {
                display: none;
            }
            #content nav form .form-input button {
                width: auto;
                height: auto;
                background: transparent;
                border-radius: none;
                color: var(--dark);
            }
            #content nav form.show .form-input input {
                display: block;
                width: 100%;
            }
            #content nav form.show .form-input button {
                width: 36px;
                height: 100%;
                border-radius: 0 36px 36px 0;
                color: var(--light);
                background: var(--red);
            }
            #content nav form.show ~ .notification,
            #content nav form.show ~ .profile {
                display: none;
            }
            #content main .box-info {
                grid-template-columns: 1fr;
            }
            .dashboard-cards {
                grid-template-columns: 1fr;
            }
            .graph-stats {
                flex-direction: column;
                gap: 10px;
            }
        }
/* Dark Mode Overrides */
body.dark {
  --light: #0C0C1E;
  --grey: #060714;
  --dark: #FBFBFB;
  --text-color: #fff;
  --dark-text-color: #fff;
  --card-bg: #1a1b26;
  --dark-card-bg: #1a1b26;
}
body.dark #sidebar {
  background: var(--light);
}
body.dark #sidebar .brand {
  color: var(--dark);
  background: var(--light);
}
body.dark #sidebar .side-menu li a {
  color: var(--dark);
  background: var(--light);
}
body.dark #sidebar .side-menu li.active {
  background: var(--grey);
}
body.dark #sidebar .side-menu li.active::before,
body.dark #sidebar .side-menu li.active::after {
  box-shadow: 20px 20px 0 var(--grey);
}
body.dark #content nav {
  background: var(--light);
  color: var(--dark);
}
body.dark #content nav a {
  color: var(--dark);
}
body.dark #content nav .bx.bx-menu {
  color: var(--dark);
}
body.dark #content nav .nav-link:hover {
  color: var(--blue);
}
body.dark #content nav form .form-input input {
  background: var(--grey);
  color: var(--dark);
}
body.dark #content nav .notification .num {
  border: 2px solid var(--light);
  background: var(--red);
  color: var(--light);
}
body.dark #content main .head-title .left h1,
body.dark #content main .head-title .left .breadcrumb li {
  color: var(--dark);
}
body.dark #content main .head-title .left .breadcrumb li a {
  color: var(--grey);
}
body.dark #content main .head-title .left .breadcrumb li a.active {
  color: var(--blue);
}
body.dark #content main .box-info li {
  background: var(--light);
}
body.dark #content main .box-info li .text h3,
body.dark #content main .box-info li .text p {
  color: var(--dark);
}
body.dark #content main .table-data > div {
  background: var(--light);
}
body.dark #content main .table-data .head h3 {
  color: var(--dark);
}
body.dark #content main .table-data .order table th,
body.dark #content main .table-data .order table td {
  color: var(--dark);
}
body.dark #content main .table-data .order table tbody tr:hover {
  background: var(--grey);
}
body.dark #content main .table-data .todo .todo-list li {
  background: var(--grey);
  color: var(--dark);
}
body.dark .card,
body.dark .stat-card,
body.dark .chart-container,
body.dark .section-image,
body.dark .alert-banner,
body.dark .timeline-content,
body.dark .dropdown-content,
body.dark .dropdown-item,
body.dark .portscan-table,
body.dark .portscan-pagination,
body.dark .action-button,
body.dark .sip-protection-config,
body.dark .config-group,
body.dark .config-option input,
body.dark .config-option select,
body.dark .sip-protection-status,
body.dark .status-item,
body.dark .sip-protection-timeline,
body.dark .vulnerability-graph-container,
body.dark .vulnerability-summary,
body.dark .summary-table th,
body.dark .remediation-plan,
body.dark .threat-feeds-graph-container,
body.dark .threat-feeds-summary,
body.dark .threat-feeds-table th,
body.dark .threat-feeds-sources,
body.dark .threat-feed-item,
body.dark .filter-bar,
body.dark .ticket-card,
body.dark .ticket-header,
body.dark .ticket-body,
body.dark .ticket-actions {
  background: var(--dark-card-bg);
  color: var(--dark-text-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
body.dark .data-table th,
body.dark .portscan-table th,
body.dark .summary-table th,
body.dark .threat-feeds-table th {
  background: rgba(55, 66, 250, 0.2);
  color: var(--dark-text-color);
}
body.dark .dropdown-content {
  background: #1a1b26;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
body.dark .dropdown-item {
  color: #e0e0e0;
}
body.dark .dropdown-item:hover {
  background: #252836;
  color: #4ecdc4;
}
body.dark .dropdown-item i {
  color: #4ecdc4;
}
body.dark .dropdown-item.selected {
  background: #252836;
  color: #4ecdc4;
  border-left: 3px solid #4ecdc4;
}
body.dark .scan-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
body.dark .scan-item:hover {
  background: rgba(255, 255, 255, 0.1);
}
body.dark .scan-domain {
  color: #4ecdc4;
}
body.dark .scan-time-label {
  color: rgba(255, 255, 255, 0.6);
}
body.dark .scan-time-value {
  color: rgba(255, 255, 255, 0.6);
}
body.dark .scan-status-text {
  color: #4ecdc4;
}
body.dark .scan-status-badge {
  background: #4ecdc4;
  color: black;
}
body.dark .start-scan-btn,
body.dark .spyglass-button,
body.dark .sip-protection-btn,
body.dark .os-insights-btn {
  border: 2px solid #4ecdc4;
  color: #4ecdc4;
}
body.dark .start-scan-btn:hover,
body.dark .spyglass-button:hover,
body.dark .sip-protection-btn:hover,
body.dark .os-insights-btn:hover {
  background: rgba(78, 205, 196, 0.2);
}
body.dark .sip-protection-btn.active,
body.dark .os-insights-btn.active {
  background: #4ecdc4;
  color: black;
}
body.dark .portscan-table .select-all,
body.dark .portscan-table th {
  background: rgba(78, 205, 196, 0.2);
  color: #4ecdc4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
body.dark .portscan-table .select-all input,
body.dark .portscan-table .checkbox {
  accent-color: #4ecdc4;
}
body.dark .portscan-table tbody tr:hover {
  background: rgba(78, 205, 196, 0.1);
}
body.dark .portscan-pagination {
  background: var(--dark-card-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
body.dark .portscan-pagination .page-info {
  color: var(--dark-text-color);
}
body.dark .portscan-pagination .page-btn {
  border: 1px solid #4ecdc4;
  color: #4ecdc4;
}
body.dark .portscan-pagination .page-btn:hover {
  background: rgba(78, 205, 196, 0.2);
}
body.dark .portscan-pagination .page-btn.active {
  background: #4ecdc4;
  color: black;
}
body.dark .action-button {
  background: #4ecdc4;
  color: black;
}
body.dark .action-button:hover {
  background: #3ddfd9;
}
body.dark .config-option label {
  color: var(--dark-text-color);
}
body.dark .config-option input,
body.dark .config-option select {
  border: 1px solid #444;
  background: #252836;
  color: #fff;
}
body.dark .config-option input[type="checkbox"],
body.dark .config-option input[type="radio"] {
  accent-color: #4ecdc4;
}
body.dark .status-label,
body.dark .status-value {
  color: var(--dark-text-color);
}
body.dark .sip-protection-timeline .timeline-item:after {
  background: #4ecdc4;
}
body.dark .vulnerability-btn,
body.dark .threat-feeds-btn {
  border: 2px solid #ff6b81;
  color: #ff6b81;
}
body.dark .vulnerability-btn:hover,
body.dark .threat-feeds-btn:hover {
  background: rgba(255, 107, 129, 0.2);
}
body.dark .vulnerability-btn.active,
body.dark .threat-feeds-btn.active {
  background: #ff6b81;
  color: black;
}
body.dark .vulnerability-scan-list .scan-item {
  background: var(--dark-card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
body.dark .scan-action-btn {
  border: 1px solid #ff6b81;
  color: #ff6b81;
}
body.dark .scan-action-btn:hover {
  background: rgba(255, 107, 129, 0.2);
}
body.dark .summary-table td {
  border-bottom: 1px solid #444;
}
body.dark .remediation-item {
  background: rgba(255, 107, 129, 0.1);
}
body.dark .threat-feed-item {
  background: var(--dark-card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border-left: 3px solid #ff6b81;
}
body.dark .threat-feed-title {
  color: var(--dark-text-color);
}
body.dark .threat-feed-date {
  color: rgba(255, 255, 255, 0.6);
}
body.dark .threat-feed-description {
  color: rgba(255, 255, 255, 0.8);
}
body.dark .threat-feed-action-btn {
  border: 1px solid #ff6b81;
  color: #ff6b81;
}
body.dark .threat-feed-action-btn:hover {
  background: rgba(255, 107, 129, 0.2);
}
body.dark .feed-type-tab {
  background: rgba(255, 107, 129, 0.2);
}
body.dark .feed-type-tab.active {
  background: #ff6b81;
  color: black;
}
body.dark .os-insights-header {
  background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}
body.dark .os-insights-header .tab-item {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}
body.dark .os-insights-header .tab-item.active {
  background: #4ecdc4;
  color: black;
}
body.dark .pagination-info {
  color: rgba(255, 255, 255, 0.7);
}
body.dark .filter-bar {
  background: var(--dark-card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
body.dark .filter-label {
  color: var(--dark-text-color);
}
body.dark .severity-select {
  background: var(--dark-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--dark-text-color);
}
body.dark .ticket-title {
  color: var(--dark-text-color);
}
body.dark .ticket-desc {
  color: var(--dark-text-color);
}
body.dark .timeline-time {
  color: rgba(255, 255, 255, 0.6);
}
body.dark .sigma-container {
  background: var(--dark-card-bg);
}
body.dark .sigma-legend {
  background: rgba(26, 27, 38, 0.9);
  color: white;
}

.pagination{
    display: flex;
    flex-direction: row;
    justify-content: end;

}

