/* Invites Page Styles */
.invites-page {
  max-width: 1200px;
}

.invites-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.invites-page .page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  margin: 0 0 8px 0;
}

.invites-page .page-description {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
}

.invites-list {
  display: grid;
  gap: 16px;
}

.invite-row {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.invite-row:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.invite-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.invite-email {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a2e;
}

.invite-meta {
  font-size: 0.875rem;
  color: #64748b;
}

.invite-meta strong {
  color: #1a1a2e;
  font-weight: 600;
}

.invite-status {
  margin-right: 24px;
}

.status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-badge.status-pending {
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  color: #2d3436;
}

.status-badge.status-accepted {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

.status-badge.status-expired {
  background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
  color: white;
}

.invite-actions {
  display: flex;
  gap: 8px;
}

/* Empty state */
.empty-state {
  background: white;
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  padding: 64px 32px;
  text-align: center;
  color: #64748b;
}

.empty-state p {
  font-size: 1.25rem;
  margin: 0 0 24px 0;
  color: #94a3b8;
}

/* Form page styles for invite form */
.form-page {
  max-width: 700px;
  margin: 0 auto;
}

.form-container {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-container h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px 0;
}

.form-description {
  color: #64748b;
  font-size: 1rem;
  margin: 0 0 32px 0;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-help {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.role-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.role-option {
  cursor: pointer;
  display: block;
}

.role-option input[type="radio"] {
  display: none;
}

.role-card {
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease;
  background: white;
}

.role-option:hover .role-card {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.role-option input[type="radio"]:checked + .role-card {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.role-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.role-description {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

.form-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .invites-page .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .invite-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
  }

  .invite-info {
    width: 100%;
  }

  .invite-status {
    margin-right: 0;
    width: 100%;
  }

  .invite-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .invite-email {
    font-size: 1rem;
  }

  .invite-meta {
    font-size: 0.8rem;
  }

  .form-container {
    padding: 24px;
  }

  .form-container h1 {
    font-size: 1.5rem;
  }

  .empty-state {
    padding: 48px 24px;
  }

  .empty-state p {
    font-size: 1.125rem;
  }
}

