/* Header */
.header {
  padding: 37px 0 37px;
  background: linear-gradient(to top, var(--dark), rgba(0, 0, 0, .5)), url(/assets/images/pages/dedi-servers/background-dedicated.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
}
@media only screen and (max-width: 767.98px) {
  .header {
    padding: 70px 0;
  }
}

/* Navigator */
.header .navigator {
  margin-bottom: 100px;
  font-family: var(--secondary-font);
}
.header .navigator .title {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: var(--light);
  margin-right: 45px;
}
.header .navigator .title::before {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--light);
  right: -24px;
}
.header .navigator .item {
  font-size: 15px;
  font-weight: 300;
  color: var(--light);
  border-bottom: 1px solid transparent;
}
.header .navigator .item.active {
  font-weight: 500;
  border-bottom-color: #8c18c3;
}
.header .navigator .item:not(:last-child) {
  margin-right: 25px;
}
.header .navigator .item:hover {
  border-bottom-color: #8c18c3;
}

/* Header Titles */
.header .title-5 {
  font-size: 17px;
  color: var(--light);
  font-weight: 500;
  margin-bottom: 10px;
}
.header .title-1 {
  font-size: clamp(2.01rem, calc(.5rem + 2.9004vw), 3.247rem);
  font-family: var(--third-font);
  font-weight: 700;
  color: var(--light);
  line-height: 1.1;
  margin-bottom: 30px;
}
.header .para-1 {
  color: var(--light);
}
.header .btn-fill-success {
  background-color: #8c18c3;
  color: #fff;
  border: 1px solid #8c18c3;
  box-shadow: 0 22px 20px -15px rgba(180, 21, 205, 0.5) !important;
}

/* Hero Image */
.header .hero {
  position: absolute;
  bottom: -30px;
  left: 60%;
  width: 300px;
}
@media only screen and (max-width: 1199.98px) {
  .header .hero {
    left: 70%;
    width: 260px;
  }
}
@media only screen and (max-width: 991.98px) {
  .header .hero {
    display: none;
  }
}

/* Section I (Filters and Plans) */
.se-i {
  padding: 40px 0;
  background-color: var(--dark);
  color: #fff;
}

/* Filter Bar Styling */
.se-i .filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px; /* Space between items */
  padding: 20px 15px; /* Reduced padding for a smaller filter bar */
  background-color: var(--semi-dark);
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  flex-wrap: nowrap; /* Ensure everything is in one row */
}

/* Filter Items */
.se-i .filter-bar .item {
  flex: 1; /* All inputs take equal space */
  min-width: 120px;
  padding: 8px 12px; /* Smaller padding for inputs */
  border: 1px
}

.se-i .filter-bar form {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
}

/* Filter Items */
.se-i .filter-bar .item {
  flex: 1; /* All inputs take equal space */
  min-width: 120px;
  padding: 8px 12px; /* Smaller padding for inputs */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background-color: var(--semi-dark-2);
  font-size: 14px;
  color: #ccc;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}
.se-i .filter-bar .item:focus {
  border-color: #8c18c3;
  outline: none;
  box-shadow: 0px 0px 5px rgba(140, 24, 195, 0.5);
}

/* Apply Filters Button */
.se-i .filter-bar .btn-fill-success {
  flex: 0 0 auto; /* Button does not resize */
  padding: 8px 15px; /* Smaller padding for the button */
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background-color: #8c18c3;
  border: none;
  border-radius: 4px;
  box-shadow: 0px 4px 10px rgba(140, 24, 195, 0.5);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin-left: auto; /* Push the button to the right */
}
.se-i .filter-bar .btn-fill-success:hover {
  background-color: #6e139b;
  box-shadow: 0px 6px 15px rgba(140, 24, 195, 0.7);
}

/* Responsive Filters */
@media (max-width: 991px) {
  .se-i .filter-bar form {
    flex-direction: column;
  }
  .se-i .filter-bar .item,
  .se-i .filter-bar .btn-fill-success {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* Plans */
.se-i .plans-container {
  max-width: 100%;
  overflow-x: auto;
}
.se-i .plans {
  display: flex;
  flex-wrap: wrap;
}
@media only screen and (max-width: 991.98px) {
  .se-i .plans {
    margin: 0 -15px;
  }
}
@media only screen and (max-width: 767.98px) {
  .se-i .plans {
    margin: 0;
  }
}

/* Plan Card */
.se-i .plan {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  flex: 0 0 100%;
  background-color: var(--semi-dark);
  border: 1px solid var(--semi-dark);
  border-radius: 12px;
  margin-bottom: 15px;
}
.light-theme .se-i .plan {
  background-color: #fff;
  border-color: var(--border);
}
@media only screen and (max-width: 991.98px) {
  .se-i .plan {
    flex: 0 0 calc(50% - 30px);
    margin: 0 15px;
  }
}
@media only screen and (max-width: 767.98px) {
  .se-i .plan {
    flex: 0 0 100%;
    margin: 0;
  }
}

/* Plan Content */
.se-i .plan .main-info-se {
  padding: 34px 30px;
  border-right: 1px solid var(--dark);
  flex: 0 0 25%;
}
.light-theme .se-i .plan .main-info-se {
  border-color: var(--border);
}
.se-i .plan .main-info-se .plan-name {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.light-theme .se-i .plan .main-info-se .plan-name {
  color: var(--dark);
}

/* Plan Pricing */
.se-i .plan .price-se {
  padding: 20px 30px;
  flex: 0 0 25%;
}
.se-i .plan .price-se .price {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
}

/* Delivery Time Badge - Common Style */
.delivery-time {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid transparent; /* Default border (overwritten below) */
}

/* Delivery Time Badge Colors */
.delivery-time.less-than-12 {
  background-color: rgba(72, 209, 72, 0.1); /* Transparent green */
  color: #48d148; /* Bright green text */
  border-color: rgba(72, 209, 72, 0.5);
}

.delivery-time.less-than-24 {
  background-color: rgba(255, 215, 0, 0.1); /* Transparent yellow */
  color: #ffd700; /* Bright yellow text */
  border-color: rgba(255, 215, 0, 0.5);
}

.delivery-time.less-than-48 {
  background-color: rgba(255, 165, 0, 0.1); /* Transparent orange */
  color: #ffa500; /* Bright orange text */
  border-color: rgba(255, 165, 0, 0.5);
}

.delivery-time.less-than-72 {
  background-color: rgba(255, 69, 0, 0.1); /* Transparent red */
  color: #ff4500; /* Red text */
  border-color: rgba(255, 69, 0, 0.5);
}


/* Server Table */
.server-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--semi-dark);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.server-table th,
.server-table td {
  padding: 20px 20px;
  text-align: left;
  font-size: 15px;
}
.server-table th {
  background-color: #151e2d;
  font-weight: 600;
  text-transform: uppercase;
  color: #ccc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.server-table tr {
  transition: background 0.2s ease-in-out;
}
.server-table tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.server-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.server-table td .badge {
  display: inline-block;
  padding: 4px 8px;
  background-color: #f39c12; /* Delivery badge color */
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}
/* Price Styling */
.server-table td .price {
  font-size: 16px;
  font-weight: 700;
  color: #fff; /* White text for the price */
}

/* /month Text */
.server-table td .price-comment {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-gray); /* Gray text for /month */
}

.server-table td .location-flag {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

/* Server Type Header Spacing */
.server-type {
  margin-top: 35px; /* More spacing above the type header */
  margin-bottom: 10px; /* More spacing below the type header */
  font-size: 22px; /* Increase font size for better visibility */
  font-weight: 700;
  color: #ffffff; /* Ensure text stands out */
  text-transform: uppercase; /* Style for emphasis */
}

/* Server Features */
.server-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Space between items */
  margin-top: 30px; /* Add spacing above */
  margin-bottom: 50px; /* Add spacing below */
  flex-wrap: wrap; /* Ensure it wraps on smaller screens */
}

.server-features .feature {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between icon and text */
  font-size: 14px;
  color: #ccc; /* Light text color */
  font-weight: 500;
}

.server-features .feature .icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

/* Labels for Server Configuration */
.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: 8px;
  text-transform: uppercase;
}

/* Configurable Label */
.label.configurable {
  display: inline-block;
  background-color: rgba(72, 209, 204, 0.1); /* Transparent teal background */
  color: #48d1cc; /* Teal text */
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid rgba(72, 209, 204, 0.5); /* Subtle teal border */
}

/* Pre-configured Label */
.label.pre-configured {
  display: inline-block;
  background-color: rgba(255, 69, 0, 0.1); /* Transparent red-orange background */
  color: #ff4500; /* Red-orange text */
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid rgba(255, 69, 0, 0.5); /* Subtle red-orange border */
}

/* Optional: Add hover effect for labels */
.label:hover {
  opacity: 0.9;
}

/* Started at Label */
.started-at {
  font-size: 12px;
  font-weight: 500;
  color: #aaa; /* Light gray color */
  margin-bottom: 2px; /* Small spacing from the value below */
  text-transform: uppercase;
  display: block; /* Ensures it appears above the value */
}

/* Responsive Filters */
@media (max-width: 767px) {
  .se-i .filter-bar {
    flex-wrap: wrap; /* Zorgt ervoor dat elementen naar beneden verplaatsen als er geen ruimte is */
    gap: 10px;
    padding: 10px;
  }
  .se-i .filter-bar form {
    display: flex;
    flex-direction: column; /* Zet de filters onder elkaar op mobiel */
    gap: 10px;
  }
  .se-i .filter-bar .item,
  .se-i .filter-bar .btn-fill-success {
    width: 100%; /* Volledige breedte op mobiel */
  }
}

/* Server Table Responsive */
@media (max-width: 767px) {
  .server-table {
    background-color: transparent !important; /* Verwijder achtergrondkleur van de gehele tabel */
  }
  .server-table tbody tr {
    display: flex;
    flex-direction: column;
    width: 90vw; /* Zorgt ervoor dat de tabel 90% van de breedte van het scherm in beslag neemt */
    max-width: 100%;
    margin: 0 auto 15px; /* Center en marge aan de onderkant */
    padding: 15px; /* Extra padding voor overzichtelijkheid */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px; /* Rondingen voor mooi effect */
    background-color: var(--semi-dark); /* Achtergrondkleur behouden voor de rijen */
  }
  .server-table tbody td {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .server-table tbody td:before {
    content: attr(data-label);
    font-weight: bold;
    color: var(--text-gray);
    margin-right: 10px;
  }
  .server-table thead {
    display: none;
  }
  
}

/* Plan Card Responsive - Full width on mobile */
@media (max-width: 767px) {
  .se-i .plan {
    width: 100%; /* Gebruik de volledige breedte */
    margin: 0;
    padding: 20px;
  }
  .se-i .plan .main-info-se,
  .se-i .plan .price-se {
    flex: 1 1 100%; /* Gebruik volledige breedte van de container */
  }
  .se-i .plan .main-info-se {
    border-right: none; /* Geen scheidingslijn rechts */
  }
}
