body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #F7F0FC;
  color: #2F2A40;
  display: flex;
}

.sidebar {
  width: 230px;
  min-height: 100vh;
  background-color: #F2E6FA;
  padding: 30px;
  box-sizing: border-box;
  border-right: 2px solid #D58BE8;
}

.sidebar a {
    display: block;
    margin: 18px 0;
    color: #7A4BA8;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.sidebar a:hover {
  color: #D58BE8;
  transform: translateX(8px);
  transition: .3s;
}

.sidebar h2 {
  color: #7A4BA8;
  text-align: center;
  margin-bottom: 35px;
}

.main-content {
  flex: 1;
  padding: 50px;
}

h1 {
  font-size: 55px;
  color: #D58BE8;
  margin-bottom: 10px;
  text-shadow: 0 0 15px #D58BE8;
}

header p {
  font-size: 20px;
  color: #d9b1e3;
}


.group-card input {
  display: none;
}

.toggle {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background: #D58BE8;
  color: white;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.toggle:hover {
  background: #7A4BA8;
  transform: scale(1.05);
}

.group-card h3 { 
  font-size: 55px;
  color: #eff571;
  display: flex;
  justify-content: center; 
  align-items: center;    
  margin: 0;
  font-family: Trebuchet MS, sans-serif; 
  text-shadow: 1px 1px 0px #bbb, 2px 2px 0px #999;
}

.group-quote {
  font-size: 20px;
  color: #f4fa5f;
  text-align: center;   
  margin: 0;
  text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
}

.group-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 20px;
  border: 3px solid #D58BE8;
  box-shadow: 0 0 18px rgba(213, 139, 232, 0.6);
}

.group-details p { 
    color: #000000;
    font-family: "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.6;
    text-align: left;
}


.group-details {
  color: #000000;
  font-family: "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  background: rgba(255,255,255,0.75);
  border-radius: 15px;
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .6s ease, opacity .4s ease, padding .4s ease;
}

input:checked ~ .group-details {
  max-height: 2000px;
  opacity: 1;
  padding: 15px;
  margin-top: 15px;
}

.group-details h4 {
    color: #7A4BA8;
    margin-top: 20px;
    margin-bottom: 10px;
}

.group-details form {
    margin-top: 10px;
}

.group-details label {
    display: block;
    margin: 8px 0;
    cursor: pointer;
    color: #2F2A40;
}

.group-details input[type="radio"] {
    margin-right: 8px;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}


.poll-box {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255,255,255,0.5);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.poll-box iframe {
  border: none;
  border-radius: 12px;
  margin-top: 10px;
}