/* General styles */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.App {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  transition: margin-left 0.3s ease;
}

.sidebar-hidden {
  margin-left: 70px;
}

.sidebar-visible {
  margin-left: 180px;
}

.survey-section {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.survey-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.survey-header p {
  font-size: 14px;
  color: #555;
}

.surveys-list {
  display: grid;
  /*grid-template-columns: 1fr 1fr 1fr;*/
  gap: 14px;
}

.Survey {
  display: flex;
  position: relative;
  /*background: #f9f9f9;*/
  padding: 2px;
  border-radius: 16px;
  /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
  gap: 20px;
}
.Survey:hover {
  background: #f9f9f9; /* Change background color on hover */
  transform: scale(1.0); /* Slightly scale up the survey on hover */
  /*box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); !* More pronounced shadow *!*/
}

/*.survey-image {*/
/*  width: 100%;*/
/*  max-width: 240px;*/
/*  height: 160px;*/
/*  object-fit: cover;*/
/*  border-radius: 8px;*/
/*  margin-bottom: 16px;*/
/*}*/

.survey-points, .survey-title, .survey-description, .survey-questions, .survey-points-earned {
  /*position: absolute;*/
  color: #333;
  font-size: 14px;
}
.survey-points {
  background: lightseagreen;
  border-radius: 20px;
  color: #ffffff;
  padding: 4px 8px 4px 8px;
  position: absolute;
  top: 5px;
  left: 5px;
  /*color: #333;*/
  font-size: 10px;
  font-weight: 600;
}
.survey-status {
  background: #00BDA9;
  border-radius: 10px;
  color: #ffffff;
  padding: 4px 10px;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 400;
}
.company-sinfo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  /*gap: 10px;*/
  position: relative;
  bottom: 68px;
  width: 100%;
  padding: 8px 8px;
  background: rgba(0, 0, 0, 0.4); /* Optional: dark background for better contrast */
  border-radius: 0 0 16px 16px; /* Optional: rounded corners at the bottom */
}
.survey-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 240px;
}

.survey-image {
  width: 100%;
  max-width: 240px;
  height: 141px;
  /*height: 141px;*/
  object-fit: cover;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.6);
}
.survey-image-home {
  /*width: 100%;*/
  /*max-width: 240px;*/
  height: 80px;
  /*height: 141px;*/
  object-fit: cover;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.6);
}

.survey-title {
  /*color: transparent;*/
  /*background: linear-gradient(90deg, #00BDA9 0%, #00C0FC 100%);*/
  /*background-clip: text;*/
  /*-webkit-background-clip: text;*/
  font-weight: 700;
  font-size: 16px;
  margin: 1px;
  color: #FFFFFF;
}

.survey-title-home {
  color: transparent;
  background: linear-gradient(90deg, #00BDA9 0%, #00C0FC 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: 700;
  font-size: 16px;
  margin: 1px;
}
.survey-title-bhome {
  color: transparent;
  background: linear-gradient(90deg, #F9BC33 0%, #FE346E 15%);
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: 700;
  font-size: 16px;
  margin: 1px;
}

.survey-description, .survey-questions, .survey-points-earned {
  font-size: 14px;
}

.participate-btn {
  background: linear-gradient(90deg, #00BDA9 0%, #00C0FC 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  font-size: 14px;
  height: 50px;
}

.participate-btn:hover {
  background: #009f92;
}

.survey-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid white;
  margin-right: 8px;
}

@media (max-width: 1200px) {
  .surveys-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .surveys-list {
    grid-template-columns: 1fr;
  }
}
