body {
  background: #f4fcf8;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

.sg-header {
  text-align: center;
  background: #f0fcf4;
  padding: 40px 10px 32px 10px;
}

.sg-logo {
  width: 90px;
  margin-bottom: 10px;
}

.sg-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0;
}

.sg-subtitle {
  font-size: 1.1rem;
  color: #222;
  margin: 18px auto 30px auto;
  max-width: 650px;
}

.sg-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.sg-btn {
  font-size: 1.05rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  border: 2px solid #22a026;
  border-radius: 7px;
  background: #fff;
  padding: 8px 32px;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.sg-btn.login {
  background: #22a026;
  color: #fff;
  border: none;
}

.sg-btn.signup {
  color: #22a026;
}

.sg-btn.login:hover,
.sg-btn.signup:hover {
  background: #177b1b;
  color: #fff;
}

.sg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  padding: 60px 32px 40px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.sg-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(80,120,100,0.07);
  padding: 38px 0 26px 0;
  text-align: center;
  transition: box-shadow 0.18s;
  cursor: pointer;
}

.sg-card:hover {
  box-shadow: 0 10px 25px rgba(60,160,80,0.17);
  transform: translateY(-2px) scale(1.03);
}

.sg-icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
}

.sg-icon.purple { color: #5233d2; }
.sg-icon.green { color: #22a026; }
.sg-icon.sun { color: #ffb300; }

.sg-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #131313;
}

.purple-label {
  color: #5233d2;
  font-weight: 600;
}

/* Quick Actions Section */
.sg-quick-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.sg-quick-actions .sg-btn {
  min-width: 160px;
}

/* Enhanced card styling for schemes */
.sg-card ul li {
  margin: 6px 0;
  font-size: 0.9rem;
}

.sg-card ul li a {
  text-decoration: none;
  transition: color 0.2s;
}

.sg-card ul li a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sg-quick-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .sg-quick-actions .sg-btn {
    width: 80%;
    max-width: 300px;
  }
}

/* Health Portal Specific Styles */
.sg-form-section {
  margin: 40px 0;
}

.sg-tracker-form, .sg-symptom-form {
  text-align: center;
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  color: #333;
  font-size: 1rem;
}

.symptom-checkboxes label {
  font-weight: normal;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.symptom-checkboxes label:hover {
  background: #f0f8f0;
}

.symptom-checkboxes input[type="checkbox"] {
  accent-color: #22a026;
}

/* Emergency button styling */
.sg-btn[style*="background:#d32f2f"] {
  background: #d32f2f !important;
  color: white !important;
  border: none !important;
}

.sg-btn[style*="background:#d32f2f"]:hover {
  background: #b71c1c !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .symptom-checkboxes {
    grid-template-columns: 1fr !important;
  }
  
  .sg-tracker-form .input-group {
    max-width: 100% !important;
  }
}
