* {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-color: #fff;
  color: #222;
  padding: 2rem;
}

#container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 🔹 Header */
#header {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header h1 {
  font-size: 1.8rem;
  font-weight: 700;
}
.header-actions {
  display: flex;
  gap: 10px;
}

/* 🔹 Navigation */
#navigation {
  margin-bottom: 2rem;
}
#navigation ul {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0.5rem 0;
}
#navigation ul li {
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: normal;
  padding: 0.3rem 0 0.5rem 0;
  color: #555;
  position: relative;
  transition: none;
  transform: none;
  border: none;
  outline: none;
  border-bottom: 2px solid transparent;
  min-width: fit-content;
}
#navigation ul li:hover {
  color: #000;
}
#navigation ul li.active {
  color: #000;
  border-bottom: 2px solid #000;
}

/* 🔹 Statistik-Bereich */
#statistics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  #statistics {
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 2rem;
  }
}
.stat-item {
  border: 1px solid #E4E4E7;
  border-radius: 20px;
  padding: 1rem 1.5rem;
  background: #fcfcfd;
}
.stat-label {
  font-size: 0.85rem;
  color: #444;
}
.stat-number {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0.3rem 0;
}
.stat-description {
  font-size: 0.8rem;
  color: #888;
}

/* Gesamtteilnehmer hervorheben */
.total-participants {
  background: #BE9D70;
  color: white;
  border: none;
}

.total-participants .stat-label,
.total-participants .stat-number,
.total-participants .stat-description {
  color: white;
}

.total-participants .stat-number {
  font-size: 2rem;
  font-weight: 700;
}

/* 🔹 Buttons */
#buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}


/* 🔹 Link Navigation */
#link-navigation {
  display: flex;
  gap: 20px;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
  flex-wrap: wrap;
}

.link-nav-item {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  color: #6b7280;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.link-nav-item:hover {
  color: #000;
  background-color: #f9fafb;
}

.link-nav-item.active {
  color: #000;
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

.participant-count {
  background-color: #BE9D70;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  min-width: 24px;
  text-align: center;
}

.link-nav-item.active .participant-count {
  background-color: #BE9D70;
}

.link-nav-item:hover .participant-count {
  background-color: #A68860;
}
#new-invite {
  padding: 10px 30px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}
#export {
  padding: 10px 30px;
  background-color: white;
  color: black;
  border: 1px solid #c6c6c6;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

#sync-google-sheets {
  padding: 10px 30px;
  background-color: #4285f4;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

#sync-google-sheets:hover {
  background-color: #3367d6;
}

#test-connection {
  padding: 10px 30px;
  background-color: #ff6b35;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

#test-connection:hover {
  background-color: #e55a2b;
}

/* Test Buttons Section */
#test-buttons {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

#test-buttons h3 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.test-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.test-btn {
  padding: 10px 20px;
  background-color: #ff6b35;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.test-btn:hover {
  background-color: #e55a2b;
}


.debug-btn {
  padding: 10px 20px;
  background-color: #17a2b8;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-weight: 600;
}

.debug-btn:hover {
  background-color: #138496;
}

/* ===== Tabelle – Basis ===== */
.invite-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
  margin-top: 2rem;
}

.invite-table thead th {
  text-align: left;
  padding: 12px 10px;
  color: #676767;
  font-size: 14px;
  font-weight: normal;
  border-bottom: 1px solid #f0f0f0;
  white-space: nowrap;
}

.invite-table tbody td {
  padding: 12px 10px;
  border-bottom: 1px solid #f5f5f5;
  color: #000000;
  font-size: 14px;
  font-weight: normal;
  vertical-align: middle;
}

.invite-table tbody tr:hover {
  background: #fafafa;                /* leichte Hover-Markierung */
}

/* Monospace für Code-Spalte */
.invite-table td code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  background: #f9fafb;
  border: 1px solid #eef2f7;
  padding: 2px 6px;
  border-radius: 6px;
}


/* ===== Content Sections ===== */
#content-sections {
  margin-top: 2rem;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* ===== Einladung erstellen Form ===== */
.invitation-form {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 100%;
  width: 100%;
}

.form-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.form-section h3 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.conditional-fields {
  margin-top: 1rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  transition: all 0.3s ease;
}

.conditional-fields.show {
  display: block !important;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.invitation-form input,
.invitation-form textarea,
.invitation-form select {
  padding: 12px 16px;
  border: 1px solid #E4E4E7;
  border-radius: 10px;
  font-size: 14px;
  color: #71717B;
  outline: none;
  transition: border-color 0.2s ease;
  font-family: inherit;
  margin-bottom: 1rem;
  background-color: white;
}

.invitation-form input:focus,
.invitation-form textarea:focus,
.invitation-form select:focus {
  border-color: #000000;
}

.invitation-form input[type="text"] {
  width: 100%;
}

/* Message Container */
.message-container {
  margin-bottom: 1rem;
}

.message-container textarea {
  width: 100%;
  resize: vertical;
  min-height: 100px;
}

/* Code Container */
.code-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: center;
}

.code-container input {
  flex: 1;
  background-color: #f9f9f9;
  color: #000000;
  font-weight: 600;
}

#generate-code-button {
  padding: 12px 20px;
  background-color: #000000;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

#generate-code-button:hover {
  background-color: #333333;
}


/* Gala Dinner Container */
.gala-dinner-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.gala-dinner-label {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
}

/* Switch Slider */
.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 25px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 25px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 19px;
  width: 19px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #000000;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Form Buttons */
.form-buttons {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

#create-invitation-btn {
  padding: 12px 30px;
  background-color: #000000;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
}

#create-invitation-btn:hover {
  background-color: #333333;
}

/* Gala Content */
.gala-content {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
  color: #6b7280;
}

/* Copy Popup */
.copy-popup {
  background: #1a1a1a;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: popupFadeIn 0.2s ease-out;
  pointer-events: none;
}

.copy-popup.error {
  background: #dc2626;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Edit Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6b7280;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.close-btn:hover {
  background-color: #f3f4f6;
  color: #1a1a1a;
}

.modal-body {
  padding: 24px;
}

.edit-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
}

.form-group input {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  background-color: #f9fafb;
}

.code-edit-container {
  display: flex;
  gap: 12px;
  align-items: center;
}

.code-edit-container input {
  flex: 1;
  font-weight: 600;
  color: #1a1a1a;
}

.regenerate-btn {
  padding: 10px 16px;
  background-color: #1a1a1a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.regenerate-btn:hover {
  background-color: #333333;
}

.gala-edit-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

#gala-status-text {
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
}

.btn-secondary {
  padding: 10px 20px;
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #e5e7eb;
}

.btn-danger {
  padding: 10px 20px;
  background-color: #dc2626;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-danger:hover {
  background-color: #b91c1c;
}

.btn-primary {
  padding: 10px 20px;
  background-color: #1a1a1a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #333333;
}


/* Delete Modal */
.delete-modal-content {
  max-width: 400px;
}

.delete-modal-content .modal-body {
  text-align: center;
  padding: 30px 24px;
}

.delete-modal-content .modal-body p {
  margin: 0;
  font-size: 1rem;
  color: #374151;
  line-height: 1.5;
}

/* Detail Card Styles */
.detail-card {
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
}

.detail-card-content {
  padding: 0;
}

.detail-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.detail-section h4 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-item label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-item span {
  font-size: 0.95rem;
  color: #1a1a1a;
  font-weight: 500;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-yes {
  background-color: #d1fae5;
  color: #065f46;
}

.status-no {
  background-color: #fee2e2;
  color: #991b1b;
}

.status-offen {
  background-color: #fef3c7;
  color: #92400e;
}

.status-gesendet {
  background-color: #dbeafe;
  color: #1e40af;
}

.status-angenommen {
  background-color: #d1fae5;
  color: #065f46;
}

/* Neue Status-Styles */
.status-akzeptiert {
  color: #059669;
  font-size: 12px;
  font-weight: normal;
  background: none;
}

.status-vertreten {
  color: #f59e0b;
  font-size: 12px;
  font-weight: normal;
  background: none;
}

.status-abgelehnt {
  color: #dc2626;
  font-size: 12px;
  font-weight: normal;
  background: none;
}

/* Kanal-Style */
.kanal-info {
  color: #827B7B;
  font-size: 12px;
  font-weight: normal;
}

.message-content {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #374151;
  white-space: pre-wrap;
}

/* Person Info Styles */
.person-info {
  padding: 0;
  background: none;
  border-radius: 0;
  border: none;
}

.person-info strong {
  color: #000000;
  font-size: 15px;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

.person-info small {
  color: #827B7B;
  font-size: 12px;
  display: block;
  margin-bottom: 0.1rem;
}

.no-data {
  color: #827B7B;
  font-style: normal;
  font-size: 12px;
}

.status-yes {
  color: #827B7B;
  font-weight: normal;
  font-size: 12px;
}

/* Tabelle responsive für mehr Spalten */
.invite-table {
  font-size: 0.85rem;
}

.invite-table th,
.invite-table td {
  padding: 0.75rem 0.5rem;
  vertical-align: top;
}

.invite-table th {
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  background: none;
  border-bottom: 2px solid #e5e7eb;
  color: #000000;
}

/* 🔹 Gala Dinner spezifische Styles */
.gala-table {
  margin-top: 1rem;
}

.gala-content {
  padding: 1rem 0;
}

.gala-actions {
  margin-top: 1rem;
}

.oib-only {
  color: #666;
  font-size: 0.8em;
  font-weight: normal;
}

.table-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
}

.person-count {
  background-color: #f0f0f0;
  border-radius: 50%;
  display: inline-block;
  font-weight: bold;
  height: 25px;
  line-height: 25px;
  text-align: center;
  width: 25px;
}

.loading {
  text-align: center;
  color: #666;
  font-style: italic;
}

/* Gala Dinner Detail Modal */
#gala-detail-modal .modal-content {
  max-width: 600px;
  width: 90%;
}

#gala-detail-modal .detail-section {
  margin-bottom: 1.5rem;
}

#gala-detail-modal .detail-section h4 {
  color: #000;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.25rem;
}

#gala-detail-modal .detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

#gala-detail-modal .detail-item {
  display: flex;
  flex-direction: column;
}

#gala-detail-modal .detail-item label {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.25rem;
}

#gala-detail-modal .detail-item span {
  font-size: 0.9rem;
  color: #000;
}

.status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-badge.status-yes {
  background-color: #dcfce7;
  color: #166534;
}

.status-badge.status-no {
  background-color: #fee2e2;
  color: #dc2626;
}

.status-badge.status-akzeptiert {
  background-color: #dcfce7;
  color: #166534;
}

.status-badge.status-abgelehnt {
  background-color: #fee2e2;
  color: #dc2626;
}

.status-badge.status-vertreten {
  background-color: #dbeafe;
  color: #1d4ed8;
}

.status-badge.status-gesendet {
  background-color: #fef3c7;
  color: #d97706;
}

.status-badge.status-offen {
  background-color: #f3f4f6;
  color: #6b7280;
}

/* ============================================
   E-Mail-Liste Styles
   ============================================ */

.email-list-container {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.email-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.stat-box .stat-label {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.stat-box .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.email-display-section {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
}

.email-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.email-controls button {
  padding: 10px 20px;
  background-color: #1a1a1a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-weight: 500;
}

.email-controls button:hover {
  background-color: #333333;
}

#refresh-emails-btn {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

#refresh-emails-btn:hover {
  background-color: #e5e7eb;
}

.email-options {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.email-option-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

.email-option-label input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: #1a1a1a;
}

.email-option-label span {
  user-select: none;
}

.email-option-label:hover {
  color: #1a1a1a;
}

.email-format-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.email-tab {
  padding: 8px 16px;
  background-color: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.email-tab:hover {
  background-color: #f3f4f6;
  color: #1a1a1a;
}

.email-tab.active {
  background-color: #1a1a1a;
  color: white;
  border-color: #1a1a1a;
}

#email-list-textarea {
  width: 100%;
  min-height: 400px;
  padding: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  background-color: white;
  color: #1a1a1a;
  resize: vertical;
}

#email-list-textarea:focus {
  outline: none;
  border-color: #1a1a1a;
}

.email-list-details {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.email-list-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.channel-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.channel-breakdown-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.channel-breakdown-item strong {
  font-size: 0.9rem;
  color: #1a1a1a;
  font-weight: 600;
}

.channel-email-count {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

/* Copy Notification Animation */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.copy-notification {
  animation: slideIn 0.3s ease-out;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .email-controls {
    flex-direction: column;
  }
  
  .email-controls button {
    width: 100%;
  }
  
  .email-options {
    flex-direction: column;
    gap: 1rem;
  }
  
  .email-format-tabs {
    flex-direction: column;
  }
  
  .email-tab {
    width: 100%;
  }
  
  .channel-breakdown-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .email-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
