/* Pride Plugin - Einheitliches CSS für alle Module */
/* Basierend auf kcard.css Design-Präferenzen */

body {
  margin: 0;
  padding: 0;
  background: var(--pride-bg, #fefaf1);
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1.0rem;
  font-weight: 500;
  line-height: 1.2;
  color: #1a2233;
}

/* Pride Card Basis-Design */
.pride-card {
  background: #fff;
  border-radius: 0.3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 1.1rem 1.2rem 1.2rem 1.2rem;
  margin-bottom: 2.2rem;
  width: 100%;
  margin: 0 auto;
  font-size: 1.0rem;
  font-weight: 500;
  line-height: 1.2;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pride-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Pride Card Header */
.pride-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.2rem;
}

.pride-card-header-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 0.2rem;
  background: #f5f5f5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  display: block;
}

.pride-card-header-text {
  flex: 1 1 auto;
  font-size: 1.0em;
  font-weight: 600;
  color: #1a2233;
  line-height: 1.2;
  margin-top: 0;
}

.pride-card-header-subtitle {
  font-size: 0.95em;
  font-weight: 400;
  color: #1a2233;
}

/* Pride Card Body */
.pride-card-body {
  font-size: 1.0em;
  color: #1a2233;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.pride-card-hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0.5rem 0 0.2rem 0;
  opacity: 0.5;
}

/* Pride Card Footer */
.pride-card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.pride-card-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: inline-block;
}

/* Pride Formular Styles */
.pride-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.pride-form-label {
  font-size: 0.95em;
  color: #1a2233;
  margin-bottom: 0rem;
  text-align: left;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.pride-form-input {
  padding: 0.2em 0.2em;
  border: 1px solid #ccc;
  border-radius: 0.2rem;
  font-size: 0.95em;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.pride-form-input:focus {
  outline: none;
  border-color: #003893;
  box-shadow: 0 0 0 2px rgba(0,56,147,0.1);
}

.pride-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95em;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  color: #1a2233;
  margin-bottom: 1rem;
  text-align: left;
  cursor: pointer;
  padding: 0.8rem;
  border-radius: 0.3rem;
  transition: background-color 0.2s;
}

.pride-form-consent:hover {
  background-color: #f8f9fa;
}

.pride-form-consent input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pride-consent-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pride-consent-title {
  font-size: 1.0rem;
  color: #1a2233;
  margin-bottom: 0.2rem;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.pride-consent-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.4;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.pride-form-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.pride-form-submit-btn {
  background: #003893;
  color: #fff;
  border: none;
  border-radius: 0.2rem;
  padding: 0.35em 1.3em;
  font-size: 0.95em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.pride-form-submit-btn:hover {
  background: #1A2233;
}

.pride-form-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Pride Progress Indicator */
.pride-progress-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pride-progress-step {
  width: 28px;
  height: 28px;
  border-radius: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  font-weight: 600;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  border: none;
  transition: all 0.2s;
}

.pride-progress-step.active {
  background: #003893;
  color: #fff;
}

.pride-progress-step.inactive {
  background: #ccc;
  color: #666;
}

.pride-progress-step.success {
  background: #28a745;
  color: #fff;
}

/* Pride Info Cards */
.pride-info {
  background: #ffcba6;
  border: 1px solid #ffb366;
  border-radius: 0.2rem;
  padding: 0.8rem;
  margin: 0.5rem 0;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.pride-info h3 {
  margin: 0 0 0.5rem 0;
  color: #8b4513;
  font-size: 1.0rem;
  font-weight: 600;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.pride-info p {
  margin: 0.3rem 0;
  color: #8b4513;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.pride-info.green {
  background: #e8f5e8;
  border: 1px solid #c3e6c3;
}

.pride-info.green p {
  color: #2d5a2d;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.pride-info code {
  background: #fff;
  padding: 0.2rem 0.4rem;
  border-radius: 0.2rem;
  font-family: monospace;
  font-size: 0.9em;
}

/* Pride Error Cards */
.pride-error-card {
  background: #ffe8e8;
  border: 1px solid #e6c3c3;
  border-radius: 0.2rem;
  padding: 0.8rem;
  margin: 0.5rem 0;
  color: #5a2d2d;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

/* Pride Screen Separator */
.pride-screen-separator {
  text-align: center;
  margin: 3rem 0 1rem 0;
  padding: 1rem;
  background: #f0f0f0;
  border-radius: 0.3rem;
  font-weight: 600;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  color: #1a2233;
}

/* Pride Container für Module */
.pride-container {
  margin: 0 auto;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.pride-module-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pride-module-card {
  margin-bottom: 0;
}

/* Pride Tabs System */
.pride-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e0e0e0;
}

.pride-tab {
  background: none;
  border: none;
  padding: 0.8rem 1.5rem;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.pride-tab:hover {
  color: #1a2233;
  background: #f8f8f8;
}

.pride-tab.active {
  color: #003893;
  border-bottom-color: #003893;
  font-weight: 600;
}

.pride-tab-content {
  display: none;
}

.pride-tab-content.active {
  display: block;
}

/* Pride Feedback Styles */
.pride-feedback {
  font-size: 1.0rem;
  margin-top: 0.3rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.2rem;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.pride-feedback.success {
  background: #e8f5e8;
  color: #2d5a2d;
  border: 1px solid #c3e6c3;
}

.pride-feedback.error {
  background: #ffe8e8;
  color: #5a2d2d;
  border: 1px solid #e6c3c3;
}

.pride-feedback.checking {
  background: #e3f2fd;
  color: #1976d2;
  border: 1px solid #bbdefb;
  animation: pride-pulse 1.5s infinite;
}

@keyframes pride-pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Pride Action Buttons */
.pride-action-btn {
  background: #003893;
  color: #fff;
  border: none;
  border-radius: 0.2rem;
  padding: 0.5rem 1.5rem;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.pride-action-btn:hover {
  background: #1a2233;
}

.pride-action-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.pride-action-btn.secondary {
  background: #6c757d;
}

.pride-action-btn.secondary:hover {
  background: #545b62;
}

/* Pride Icon Buttons */
.pride-icon-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #003893;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.pride-icon-btn:hover {
  color: #1a2233;
  transform: scale(1.1);
}

/* Pride Loading States */
.pride-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #666;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.pride-loading::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-top: 2px solid #003893;
  border-radius: 50%;
  animation: pride-spin 1s linear infinite;
  margin-left: 0.5rem;
}

@keyframes pride-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Pride Spread Navigation System */
/* Scroll-Modus (Standard) - Normales vertikales Scrollen */
.pride-spread-container.scroll-mode {
  display: block;
  overflow: visible;
  padding: 0;
  margin-bottom: 0;
}

.pride-spread-container.scroll-mode .pride-spread-card {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
}

/* Swiper-Modus (für Navigations-Seiten) - Horizontales Scrollen */
.pride-spread-container.swiper-mode {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
}

.pride-spread-container.swiper-mode .pride-spread-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 300px;
  max-width: 100%;
}

/* Rückwärtskompatibilität - Standard auf Scroll-Modus */
.pride-spread-container {
  display: block;
  overflow: visible;
  padding: 0;
  margin-bottom: 0;
}

.pride-spread-card {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
}

.pride-spread-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 0.3rem;
}

.pride-nav-button {
  padding: 8px 16px;
  border: none;
  background: #003893;
  color: white;
  cursor: pointer;
  border-radius: 0.2rem;
  transition: background 0.2s;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.pride-nav-button:hover {
  background: #1a2233;
}

.pride-nav-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.pride-nav-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pride-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  padding: 0;
}

.pride-nav-dot:hover {
  background: #999;
}

.pride-nav-dot.active {
  background: #003893;
  transform: scale(1.2);
}

.pride-nav-counter {
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 0.9rem;
  color: #666;
  margin: 0 10px;
}

/* Pride Spread Grid Layout (Alternative) */
.pride-spread-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  gap: 20px;
  padding: 20px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.pride-spread-grid .pride-spread-card {
  scroll-snap-align: start;
}

/* Pride Spread Flex Layout (Alternative) */
.pride-spread-flex {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  gap: 20px;
  padding: 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.pride-spread-flex .pride-spread-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  min-width: 300px;
}

/* Pride Responsive Design */
@media (max-width: 768px) {
  .pride-card {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .pride-tabs {
    flex-direction: column;
    gap: 0.2rem;
  }
  
  .pride-tab {
    text-align: left;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  
  .pride-tab.active {
    border-left-color: #003893;
    border-bottom-color: transparent;
  }
  
  .pride-form-submit-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .pride-form-submit-btn {
    width: 100%;
  }
  
  /* Mobile Navigation */
  .pride-spread-container {
    padding: 15px;
    gap: 15px;
  }
  
  .pride-spread-nav {
    flex-direction: column;
    gap: 10px;
  }
  
  .pride-nav-dots {
    order: -1;
  }
  
  .pride-nav-button {
    width: 100%;
    max-width: 200px;
  }
}

/* Tablet Layout - Entfernt, da Blocksy Child Theme das responsive Verhalten regelt */
/* Desktop Layout - Entfernt, da Blocksy Child Theme das responsive Verhalten regelt */

/* Pride TizPub spezifische Styles */
.pride-tizpub-spread {
  margin-bottom: 2rem;
}

.pride-spread-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.3rem;
}

.pride-spread-header h2 {
  margin: 0 0 0.5rem 0;
  color: #1a2233;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.pride-spread-description {
  margin: 0;
  color: #666;
  font-family: 'Barlow Condensed', Arial, sans-serif;
  font-size: 1rem;
}

/* Vote-Card spezifische Styles */
.pride-vote-card {
  text-align: center;
}

.pride-vote-seamless {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pride-vote-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.2rem;
}

.pride-vote-options-row {
  display: flex;
  gap: 0;
}

.pride-vote-option {
  flex: 1;
  display: block;
  transition: transform 0.2s;
}

.pride-vote-option:hover {
  transform: scale(1.02);
}

/* 1pic-Card spezifische Styles */
.pride-1pic-image {
  margin-bottom: 1rem;
  border-radius: 0.3rem;
  overflow: hidden;
}

.pride-1pic-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Blog-Card spezifische Styles */
.pride-blog-card .pride-card-header-text h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 600;
}

/* Ruti-Card spezifische Styles */
.pride-ruti-card {
  border-left: 4px solid #003893;
}

/* Markdown-spezifische Styles */
.pride-markdown-h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
  color: #1a2233;
}

.pride-markdown-h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0.8rem 0 0.4rem 0;
  color: #1a2233;
}

.pride-markdown-h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.6rem 0 0.3rem 0;
  color: #1a2233;
}

.pride-markdown-hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 1rem 0;
  opacity: 0.5;
}

.pride-markdown-code {
  background: #f5f5f5;
  padding: 0.2rem 0.4rem;
  border-radius: 0.2rem;
  font-family: monospace;
  font-size: 0.9em;
  color: #333;
}

.pride-markdown-link {
  color: #003893;
  text-decoration: none;
  transition: color 0.2s;
}

.pride-markdown-link:hover {
  color: #1a2233;
  text-decoration: underline;
}

.pride-markdown-ul,
.pride-markdown-ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.pride-markdown-li {
  margin: 0.2rem 0;
}

.pride-markdown-blockquote {
  border-left: 4px solid #003893;
  margin: 0.8rem 0;
  padding: 0.5rem 0 0.5rem 1rem;
  background: #f8f9fa;
  font-style: italic;
  color: #1a2233;
  border-radius: 0.2rem;
}

/* TizPub Index Styles */
.pride-tizpub-index {
  margin: 0 auto;
}

.pride-spreads-grid {
  display: grid;
  /* grid-template-columns entfernt, da Blocksy Child Theme das responsive Verhalten regelt */
  gap: 1.5rem;
  margin: 2rem 0;
}

.pride-spread-item {
  margin-bottom: 0;
}

/* Responsive Anpassungen für TizPub */
@media (max-width: 768px) {
  .pride-vote-options-row {
    flex-direction: column;
  }
  
  /* .pride-spreads-grid grid-template-columns entfernt, da Blocksy Child Theme das responsive Verhalten regelt */
  
  .pride-spread-header h2 {
    font-size: 1.3rem;
  }
}

/* Pride Klakker Signup spezifische Styles */

/* Handle-Prüfung Feedback */
.pride-handle-check-feedback {
  padding: 0.5rem;
  border-radius: 0.2rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.pride-handle-check-feedback.success {
  background: #e8f5e8;
  color: #2d5a2d;
  border: 1px solid #c3e6c3;
}

.pride-handle-check-feedback.error {
  background: #ffe8e8;
  color: #5a2d2d;
  border: 1px solid #e6c3c3;
}

/* Passwort-Anforderungen */
.pride-password-requirements {
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 0.2rem;
  font-size: 0.85rem;
  color: #666;
}

/* E-Mail-Highlight */
.pride-email-highlight {
  background: #e3f2fd;
  border: 1px solid #bbdefb;
  border-radius: 0.2rem;
  padding: 0.8rem;
  margin: 1rem 0;
  text-align: center;
  font-size: 1.1rem;
}

/* Erfolgs-Nachricht */
.pride-success-message {
  text-align: center;
  margin-bottom: 2rem;
}

.pride-success-message h3 {
  color: #28a745;
  margin-bottom: 1rem;
}

/* Success Card */
.pride-success-card {
  background: #e8f5e8;
  border: 1px solid #c3e6c3;
  border-radius: 0.3rem;
  padding: 1.5rem;
  margin: 1rem 0;
  text-align: center;
}

.pride-success-card h3 {
  color: #2d5a2d;
  margin-bottom: 1rem;
}

.pride-success-card p {
  color: #2d5a2d;
  margin-bottom: 0.5rem;
}

/* Form Field spezifische Styles */
.pride-form-field {
  margin-bottom: 1.5rem;
}

.pride-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1a2233;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.pride-form-input.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Consent Checkbox Styles */
.pride-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.3rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.pride-form-consent:hover {
  border-color: #003893;
  background: #f8f9fa;
}

.pride-form-consent input[type="checkbox"] {
  margin-top: 0.2rem;
  transform: scale(1.2);
}

.consent-content {
  flex: 1;
}

.consent-title {
  font-weight: 600;
  color: #1a2233;
  margin-bottom: 0.5rem;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

.consent-text {
  color: #666;
  line-height: 1.5;
  font-family: 'Barlow Condensed', Arial, sans-serif;
}

/* Progress Goal Icon */
.pride-progress-goal {
  width: 24px;
  height: 24px;
  margin-left: 0.5rem;
  opacity: 0.6;
}

/* Responsive Anpassungen für Signup */
@media (max-width: 768px) {
  .pride-form-consent {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .pride-form-consent input[type="checkbox"] {
    align-self: flex-start;
  }
  
  .pride-email-highlight {
    font-size: 1rem;
    padding: 0.6rem;
  }
}
