body { 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 500px;
  width: 90%;
}

h1 {
  color: #333;
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.name {
  color: #667eea;
  font-weight: bold;
  font-size: 1.2em;
}

.emoji {
  font-size: 4rem;
  margin: 1rem 0;
}

.subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-top: 2rem;
}

/* Family actions section */
.family-actions {
  margin: 2rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.family-actions h3 {
  margin: 0 0 0.75rem 0;
  color: #495057;
  font-size: 1rem;
  text-align: center;
}

.family-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.family-button-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.family-button-group .btn {
  width: 100%;
}

.btn-small {
  padding: 0.5rem 0.75rem !important;
  font-size: 0.85rem !important;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.family-buttons .btn-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Profile page styles - Compact card design */
.profile-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  margin: 1rem 0;
}

.profile-card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.profile-photo {
  flex-shrink: 0;
}

.profile-photo img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
}

.profile-photo .avatar-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border: 3px solid rgba(255,255,255,0.3);
}

.profile-title h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.profile-title p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.profile-card-body {
  padding: 1.5rem;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-section {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.info-section h4 {
  margin: 0;
  color: #667eea;
  font-size: 1rem;
  font-weight: 600;
  min-width: 80px;
  flex-shrink: 0;
}

.info-section p {
  margin: 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.4;
  flex: 1;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 2rem;
    margin: 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .emoji {
    font-size: 3rem;
  }
  
  .profile-card-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .profile-card-body {
    padding: 1rem;
  }
  
  .info-section {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .info-section h4 {
    min-width: auto;
  }
}
