/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f7f7f7;
  padding: 20px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb a {
  text-decoration: none;
  color: #6c757d;
  font-size: 14px;
}

/* Titles */
.title {
  font-size: 36px;
  color: #2d3e50;
  margin: 10px 0;
}

.subtitle, .search-title {
  font-size: 18px;
  color: #de3855;
  margin-bottom: 20px;
}

.description {
  font-size: 16px;
  color: #de3855;
  margin-bottom: 20px;
}

/* Search Box Styles */
.search-box {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Form Elements */
.form-group {
  display: inline-block;
  width: 30%;
  margin-right: 2%;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 16px;
  color: #2d3e50;
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.checkbox-group label {
  font-size: 14px;
  color: #2d3e50;
}

/* Search Button */
.search-button {
  background-color: #de3855;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.search-button:hover {
  background-color: #c72d45;
}

/* Trial Card Styles */
.trial-card {
  background-color: white;
  padding: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.trial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.trial-title {
  font-size: 24px;
  color: #306182;
}

.trial-status {
  display: flex;
  gap: 10px;
}

.status-open {
  background-color: #72c249;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
}

.status-closed {
  background-color: #de3855;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
}

.phase {
  background-color: #306182;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
}

/* Trial Card Content */
.trial-body p {
  font-size: 16px;
  color: #2d3e50;
  margin-bottom: 10px;
}

.trial-body ul li{
  color: #2d3e50;
  margin-left: 30px;
  list-style: ;
}

.trial-footer {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* Button Styles */
.btn-wap {
  padding: 8px 15px;
  border: 2px solid #de3855;
  background-color: white;
  color: #de3855;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-wap:hover {
  background-color: #de3855;
  color: white;
}

.more-btn, .eligibility-btn, .contacts-btn {
  display: inline-block;
  width: auto;
}

.active{
  background-color: #de3855;
  color: #FFF;
}


.checkbox-group {
  display: flex;
  gap: 20px;
}

label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  cursor: pointer;
}

.tooltip-icon {
  color: #c72d45;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}

.tooltip-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 120%;
  transform: translateX(-50%);
  background-color: hsl(53.6, 84.3%, 82.5%);
  color: #000;
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out;
  z-index: 1000;
  font-family: Arial;
}

.tooltip-icon:hover::after {
  opacity: 1;
  visibility: visible;
}

.logo_wap{
  text-align: right;
  color: #219ce0;
  display: flex;
  justify-content: end;
  align-items: center;
}
.logo_wap span{
  font-size: 19px;
}
.powered_logo{
  max-height: 24px;
  margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .trial-header {
      flex-direction: column;
      align-items: flex-start;
  }

  .trial-status {
      margin-top: 10px;
  }

  .form-group {
      width: 100%;
      margin-right: 0;
  }

  .checkbox-group {
      flex-direction: column;
  }

  .more-btn, .eligibility-btn, .contacts-btn {
    display:inline-block;
    width: 100%;
  }

  .trial-footer .btn-wap {
    padding: 1px 1px;
    border: 2px solid #de3855;
    background-color: white;
    color: #de3855;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: block;
    align-items: center;
    gap: 5px;
    width: 100%;
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width */
  }

  .logo_wap{
    text-align: center;
    color: #219ce0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
  }
  .logo_wap span{
    font-size: 19px;
  }
  .powered_logo{
    max-height: 24px;
    margin-left: 5px;
  }
}
