@import url("./root.css");

.slideshow .carousel,
.slideshow .carousel-item .carousel-item-image {
  background: url("../image/banner/background/3@2x.png") center;
  background-size: cover;
}

.slideshow .carousel-caption h5 {
  height: 56px;
  font-size: 80px;
  font-weight: bold;
  color: #ffffff;
  line-height: 56px;
  letter-spacing: 4px;
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .slideshow .carousel-caption h5 {
    font-size: 40px;
  }
}

.security-list {
  margin: 60px auto 80px;
}

.security-item {
  background: #ffffff;
  border-radius: 5px;
  border: 1px solid #f2f2f2;
  padding: 32px 40px;
  margin-bottom: 24px;
  transition: box-shadow 0.3s;
}

.security-item:hover {
  box-shadow: 0 0 20px 1px rgba(62, 166, 227, 0.2);
}

.security-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.security-title {
  font-size: 22px;
  font-weight: 500;
  color: #333333;
  margin: 0;
}

.security-time {
  font-size: 14px;
  color: #999999;
  margin-bottom: 20px;
}

.severity {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.severity-low {
  background: rgba(62, 166, 227, 0.15);
  color: #3ea6e3;
}

.severity-medium {
  background: rgba(255, 128, 0, 0.15);
  color: #ff8000;
}

.severity-high {
  background: rgba(255, 87, 34, 0.15);
  color: #ff5722;
}

.severity-critical {
  background: rgba(211, 47, 47, 0.15);
  color: #d32f2f;
}

.security-table {
  margin: 0;
  table-layout: fixed;
}

.security-table tr th {
  width: 140px;
  background: rgba(62, 166, 227, 0.08);
  font-size: 14px;
  font-weight: 500;
  color: #3ea6e3;
  text-align: left !important;
  padding: 12px 16px;
  border: none;
  vertical-align: top;
}

.security-table tr td {
  font-size: 14px;
  color: #333333;
  text-align: left !important;
  padding: 12px 16px;
  border: none;
  vertical-align: top;
  word-break: break-word;
}

.security-table tr + tr th,
.security-table tr + tr td {
  border-top: 1px solid #f2f2f2;
}

@media screen and (max-width: 768px) {
  .security-item {
    padding: 20px 16px;
  }

  .security-title {
    font-size: 18px;
  }

  .security-table tr th {
    width: 100px;
    padding: 10px 12px;
  }
}
