/* 
 * GLOBAL VARIABLES
 * Defined at root level for consistent usage across all components
 */
 :root {
  /* Color Palette */
  --color-primary: #74b9a3;
  --color-primary-light: #c5e1d8;
  --color-primary-dark: #2e7d67;
  --color-secondary: #7fa6bc;
  --color-secondary-light: #e8f4fd;
  --color-secondary-dark: #0288d1;
  --color-accent: #e27d60;
  --color-accent-light: #e8a87c;
  --color-dark: #333;
  --color-text: #444;
  --color-text-light: #666;
  --color-text-lighter: #777;
  --color-bg: #f8f9fa;
  --color-bg-light: #fff;
  --color-bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9f5f2 100%);
  --color-primary-gradient: linear-gradient(45deg, #74b9a3, #7fa6bc);
  --color-secondary-gradient: linear-gradient(45deg, #5b86e5, #36d1dc);
  --color-accent-gradient: linear-gradient(45deg, #e27d60, #e8a87c);
  
  /* Spacing */
  --space-xs: 5px;
  --space-sm: 10px;
  --space-md: 20px;
  --space-lg: 30px;
  --space-xl: 40px;
  --space-xxl: 60px;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-xxl: 24px;
  
  /* Typography */
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-xxl: 22px;
  --font-size-h3: 24px;
  --font-size-h2: 28px;
  --font-size-h1: 42px;
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
}

/* 
 * RESET & BASE STYLES
 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--color-bg-gradient);
  color: var(--color-text);
  position: relative;
}

/* Background decorations */
body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 30%;
  height: 25%;
  background: linear-gradient(135deg, rgba(116, 185, 163, 0.2) 0%, rgba(127, 166, 188, 0.2) 100%);
  border-radius: 0 0 0 50%;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 35%;
  background: linear-gradient(135deg, rgba(226, 125, 96, 0.1) 0%, rgba(240, 229, 229, 0.1) 100%);
  border-radius: 0 50% 0 0;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  opacity: 0.8;
}

/* 
 * LAYOUT STRUCTURE
 */
.page-container {
  max-width: 1440px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  padding: 0 var(--space-md);
}

main {
  padding: var(--space-xl) 0;
  position: relative;
}

/* 
 * HEADER STYLES
 */
header {
  height: 80px;
  display: flex;
  width: 100%;
  align-items: center;
  margin-bottom: var(--space-md);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.logo-container {
  display: flex;
  align-items: center;
  padding: 0 var(--space-md);
}

.logo-container img {
  height: 50px;
  width: auto;
}

.logo-text {
  color: var(--color-primary);
  font-size: var(--font-size-h2);
  font-weight: 700;
  margin-left: var(--space-sm);
  background: var(--color-primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.top-navigation {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 var(--space-md);
}

.auth-buttons {
  display: flex;
  gap: 15px;
}

/* 
 * BUTTON STYLES
 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-md);
  font-weight: 600;
  padding: 0 25px;
  transition: var(--transition-normal);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Button variants */
.login-btn, .logout-btn {
  background: var(--color-accent-gradient);
  color: white;
}

.register-btn {
  background: var(--color-secondary-gradient);
  color: white;
}

.create-btn {
  background: var(--color-secondary-gradient);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.accept-btn, .save-btn, .set-availability-btn {
  background-color: var(--color-primary);
  color: white;
}

.update-btn, .view-availability-btn {
  background-color: var(--color-secondary);
  color: white;
}

.submit-btn {
  background: var(--color-secondary-gradient);
  color: white;
  font-size: var(--font-size-lg);
  height: 45px;
  width: 100%;
  border-radius: var(--radius-lg);
  font-weight: 600;
}

.clear-btn, .decline-btn, .cancel-btn {
  background-color: #f0f0f0;
  color: var(--color-dark);
}

.send-btn {
  background: var(--color-primary-gradient);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  float: right;
}

.btn.remove-btn {
  background: var(--color-accent-gradient);
  color: white;
}

.btn.delete-btn {
  background: var(--color-accent-gradient);
  color: white;
}

.btn.invite-btn {
  background-color: var(--color-secondary);
  color: white;
}

/* 
 * USER ELEMENTS
 */
#username-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px var(--space-md);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: white;
  background: var(--color-primary-gradient);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  text-align: center;
}

/* 
 * WELCOME SECTION
 */
.welcome-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-xl);
  padding: var(--space-xxl) var(--space-md);
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xxl);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(5px);
}

.welcome-text {
  font-size: var(--font-size-h1);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-lg);
  background: linear-gradient(45deg, #333, #555);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-text {
  max-width: 800px;
  text-align: center;
}

.intro-heading {
  font-size: var(--font-size-xxl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-dark);
}

.intro-subheading {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* 
 * FEATURE CARDS
 */
.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding: 0 var(--space-md);
}

.feature-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: none;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--color-primary-gradient);
}

.feature-title {
  font-size: var(--font-size-xxl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--color-dark);
}

.feature-description {
  font-size: var(--font-size-lg);
  font-weight: 400;
  text-align: center;
  color: var(--color-text-light);
  line-height: 1.6;
}

.feature-image-container {
  margin-bottom: var(--space-md);
  width: 100%;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 
 * HERO IMAGE
 */
.hero-image-container {
  width: 100%;
  max-width: 800px;
  margin: var(--space-xl) auto;
}

.hero-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* 
 * CALL TO ACTION
 */
.cta-section {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.cta-card {
  background: var(--color-primary-gradient);
  border-radius: var(--radius-xl);
  padding: var(--space-xxl);
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
  color: white;
}

.cta-text {
  font-size: var(--font-size-h2);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.cta-card .register-btn {
  background: white;
  color: var(--color-primary);
  font-size: var(--font-size-lg);
  padding: 0 40px;
  height: 50px;
}

/* 
 * FOOTER
 */
footer {
  padding: var(--space-lg) 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: var(--space-xxl);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 0 var(--space-md);
}

.footer-link {
  color: var(--color-text-light);
  font-size: var(--font-size-md);
  font-weight: 500;
  padding: var(--space-xs);
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary-gradient);
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

/* 
 * FORM ELEMENTS
 */
.form-section {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.form-container {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xxl);
  padding: var(--space-xl);
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(5px);
  text-align: center;
}

.form-heading {
  font-size: var(--font-size-h3);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-dark);
}

.input-group, .form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: var(--space-md);
}

.input-group label, .form-group label {
  font-size: var(--font-size-lg);
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: #555;
  display: block;
}

.input-group input, 
.form-group input[type="text"],
.form-group textarea {
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid #ccc;
  padding: 10px;
  font-size: var(--font-size-md);
  outline: none;
  transition: var(--transition-normal);
  width: 100%;
}

.form-group textarea {
  height: auto;
  resize: vertical;
}

.input-group input:focus,
.form-group input[type="text"]:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 8px rgba(116, 185, 163, 0.4);
}

.form-hint {
  font-size: var(--font-size-sm);
  color: var(--color-text-lighter);
  margin-top: var(--space-xs);
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: var(--space-lg);
  justify-content: center;
}

.radio-group {
  margin-top: var(--space-sm);
}

.radio-option {
  margin-bottom: var(--space-sm);
}

/* 
 * FLASH MESSAGES
 */
.flash-message {
  padding: 12px 16px;
  margin: 16px 0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  animation: flash-appear 0.3s ease-out;
}

.flash-message::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.flash-message.success {
  background-color: var(--color-primary-light);
  border-left: 4px solid var(--color-primary);
  color: var(--color-primary-dark);
}

.flash-message.success::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2374b9a3'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}

.flash-message.error {
  background-color: #fdd0d0;
  border-left: 4px solid var(--color-accent);
  color: #d32f2f;
}

.flash-message.error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e27d60'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

.flash-message.info {
  background-color: var(--color-secondary-light);
  border-left: 4px solid var(--color-secondary);
  color: var(--color-secondary-dark);
}

.flash-message.info::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237fa6bc'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
}

.flash-message.warning {
  background-color: #fff1cd;
  border-left: 4px solid #f0e5e5;
  color: #ff8f00;
}

.flash-message.warning::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff8f00'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E");
}

.flash-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: inherit;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.flash-close:hover {
  opacity: 0.8;
}

@keyframes flash-appear {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 
 * GROUP STYLES
 */
.groups-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md);
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  background: linear-gradient(45deg, #f8f9fa, #effffa);
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-md);
}

.group-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
}

.group-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.group-name {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.group-name a {
  color: var(--color-dark);
  text-decoration: none;
}

.group-name a:hover {
  color: var(--color-secondary);
}

.group-description {
  color: var(--color-text-light);
  margin-bottom: 15px;
  font-size: var(--font-size-md);
}

.group-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-sm);
  color: var(--color-text-lighter);
}

/* 
 * GROUP DETAILS
 */
.group-details-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md);
}

.group-content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--space-lg);
}

.group-main {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.members-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.member-item {
  background: var(--color-bg);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
}

.member-name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.creator-badge {
  background: var(--color-accent);
  color: white;
  font-size: var(--font-size-xs);
  padding: 2px 6px;
  border-radius: 10px;
}

.member-username {
  font-size: var(--font-size-sm);
  color: var(--color-text-lighter);
}

.group-sidebar {
  align-self: start;
}

.sidebar-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-md);
}

.info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-md);
}

.info-label {
  color: var(--color-text-lighter);
}

.group-availability, .group-messages {
  margin-top: var(--space-lg);
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.availability-actions {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

/* 
 * GROUP MESSAGES
 */
.message-form {
  margin-bottom: var(--space-md);
}

.message-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-size: var(--font-size-md);
  resize: vertical;
  min-height: 60px;
  margin-bottom: var(--space-sm);
}

.messages-list {
  max-height: 400px;
  overflow-y: auto;
  padding-right: var(--space-xs);
}

.message-item {
  margin-bottom: 15px;
  padding: 12px;
  border-radius: var(--radius-md);
  background-color: #f0f2f5;
  max-width: 80%;
}

.message-mine {
  background-color: #dcf8c6;
  margin-left: auto;
}

.message-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-sm);
}

.message-sender {
  font-weight: 600;
  color: var(--color-dark);
}

.message-time {
  color: var(--color-text-lighter);
}

.message-content {
  font-size: var(--font-size-md);
  line-height: 1.4;
  word-break: break-word;
}

.empty-messages {
  text-align: center;
  color: var(--color-text-lighter);
  padding: var(--space-md);
  font-style: italic;
}

/* 
 * INVITATIONS
 */
.invitations-list {
  list-style: none;
  padding: 0;
}

.invitation-item {
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.invitation-actions {
  display: flex;
  gap: var(--space-sm);
}

/* 
 * CALENDAR & AVAILABILITY
 */
.availability-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-md);
}

.calendar-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.calendar-nav-btn {
  background: #f0f0f0;
  color: var(--color-dark);
  border: none;
}

.time-grid {
  display: flex;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.time-labels, .day-column {
  display: flex;
  flex-direction: column;
}

.time-labels {
  width: 60px;
  background: #f8f8f8;
}

.day-column {
  flex: 1;
  border-left: 1px solid #ddd;
}

.day-label {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
}

.time-label {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #eee;
  font-size: var(--font-size-sm);
}

.time-cell {
  height: 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: var(--transition-fast);
}

.time-cell:hover {
  background-color: #f0f0f0;
}

.time-cell.selected {
  background-color: var(--color-primary);
}

.availability-count {
  font-size: var(--font-size-xs);
  color: var(--color-dark);
}

/* Availability levels */
.time-cell.one-person,
.time-cell.availability-level-1 {
  background-color: var(--color-primary-light);
}

.time-cell.two-people,
.time-cell.availability-level-2 {
  background-color: #97cdb9;
}

.time-cell.three-plus-people,
.time-cell.availability-level-3 {
  background-color: var(--color-primary);
}

/* Legend */
.legend {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-color {
  width: 15px;
  height: 15px;
  border: 1px solid #ddd;
}

.legend-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

/* Best times section */
.best-times-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.best-times-section h3 {
  margin-bottom: 15px;
  color: var(--color-dark);
}

.best-times-list {
  list-style: none;
  padding: 0;
}

.best-times-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
}

.best-time-weekday {
  font-weight: bold;
  display: block;
}

.best-time-hours {
  font-size: var(--font-size-md);
  color: var(--color-text);
}

.best-time-count {
  font-weight: bold;
}

.best-time-item.availability-level-1,
.best-times-list li.one-person {
  background-color: var(--color-primary-light);
}

.best-time-item.availability-level-2,
.best-times-list li.two-people {
  background-color: #97cdb9;
}

.best-time-item.availability-level-3,
.best-times-list li.three-plus-people {
  background-color: var(--color-primary);
  color: white;
}

.no-times-message {
  color: var(--color-text-lighter);
  font-style: italic;
  text-align: center;
  padding: var(--space-md);
}

.instructions {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

.your-availability::after {
  content: "✓";
  position: absolute;
  top: 2px;
  right: 2px;
  color: #000000;
  font-weight: bold;
}

.best-times-list .your-availability {
  border-left: 4px solid #30413a;
}

/* 
 * RESPONSIVE STYLES
 */
@media (max-width: 1200px) {
  .features-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
  }
  
  .logo-container {
    margin-bottom: 15px;
  }
  
  .top-navigation {
    width: 100%;
    justify-content: center;
  }
  
  .features-section {
    grid-template-columns: 1fr;
  }
  
  .intro-text {
    width: 100%;
  }
  
  .welcome-text {
    font-size: var(--font-size-h2);
  }
  
  .intro-heading {
    font-size: var(--font-size-xxl);
  }
  
  .cta-card {
    padding: var(--space-lg) var(--space-md);
  }
  
  .group-content {
    grid-template-columns: 1fr;
  }

  .time-grid {
    overflow-x: auto;
  }
  
  .best-time-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .best-time-count {
    margin-top: var(--space-xs);
  }
}

/* Add to your style.css */
.delete-account-container {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-lg);
}

.warning-section {
  margin: var(--space-lg) 0;
}

.flash-message.warning {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  color: #856404;
}

.flash-message.warning h3 {
  margin-bottom: var(--space-sm);
}

.flash-message.warning ul {
  margin: var(--space-sm) 0;
  padding-left: var(--space-md);
}

.confirmation-section {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.danger-zone {
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  background: #fdf2f2;
}

.danger-zone h3 {
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.account-deleted-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-xl);
}

.success-message {
  background: var(--color-bg-light);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.next-steps {
  text-align: left;
  margin: var(--space-md) 0;
}

.next-steps ul {
  list-style: none;
  padding: 0;
}

.next-steps li {
  padding: var(--space-xs) 0;
  position: relative;
  padding-left: 20px;
}

.next-steps li::before {
  content: "•";
  color: var(--color-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.actions {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

.privacy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.privacy-content {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xxl);
  padding: var(--space-xxl);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  position: relative;
}

.privacy-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--color-primary-gradient);
  border-radius: var(--radius-xxl) var(--radius-xxl) 0 0;
}

.privacy-content h1 {
    color: var(--color-dark);
    font-size: var(--font-size-h1);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    text-align: center;
    background: linear-gradient(45deg, #333, #555);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated {
    text-align: center;
    color: var(--color-text-lighter);
    font-size: var(--font-size-md);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid #eee;
}

.privacy-section {
    margin-bottom: var(--space-xl);
}

.privacy-section h2 {
    color: var(--color-primary-dark);
    font-size: var(--font-size-h3);
    font-weight: 600;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-primary-light);
    position: relative;
}

.privacy-section h2::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--color-primary-gradient);
}

.privacy-section p {
    color: var(--color-text);
    font-size: var(--font-size-lg);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.contact-box {
    background: var(--color-primary-light);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-top: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.contact-box p {
    margin-bottom: var(--space-sm);
    color: var(--color-primary-dark);
}

.contact-box p:last-child {
    margin-bottom: 0;
}

.contact-box strong {
    color: var(--color-primary-dark);
    font-weight: 600;
}

.back-link {
    text-align: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid #eee;
}

.back-link .btn {
    background: var(--color-primary-gradient);
    color: white;
    padding: 12px 24px;
    font-size: var(--font-size-lg);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-block;
}

.back-link .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.gdpr-notice {
  background-color: #f8f9fa;
  border-left: 4px solid #007bff;
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
}

.gdpr-notice p {
  margin: 0;
  font-size: 0.9em;
  color: #555;
  line-height: 1.4;
}

.gdpr-notice a {
  color: #007bff;
  text-decoration: underline;
}

.gdpr-notice a:hover {
  color: #0056b3;
}

@media (max-width: 480px) {
  .actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  
  header {
    padding: 10px;
  }
  
  .logo-text {
    font-size: var(--font-size-xl);
  }
  
  .logo-container img {
    height: 40px;
  }
  
  .auth-buttons {
    gap: 8px;
  }
  
  .btn {
    padding: 0 15px;
    height: 36px;
    font-size: var(--font-size-sm);
  }
  
  #username-container {
    min-width: auto;
    padding: 8px 12px;
    font-size: var(--font-size-md);
  }
}