/**
 * Kicker-Style Spielerprofil
 */

/* ================================================
   KICKER HEADER
   ================================================ */

.lojtart-profile-kicker {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
}

.lojtart-kicker-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 0;
}

.lojtart-kicker-header-left {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

/* Spielerfoto */
.lojtart-player-photo {
  position: relative;
  width: 120px;
  height: 150px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  border-radius: 4px;
  overflow: hidden;
}

.lojtart-player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lojtart-player-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}

.lojtart-player-photo-placeholder svg {
  width: 60px;
  height: 60px;
  fill: #ccc;
}

/* Trikotnummer Badge */
.lojtart-jersey-number {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 48px;
  height: 48px;
  background: #cc0000;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Spieler-Info */
.lojtart-player-info {
  padding-top: 0.25rem;
}

.lojtart-player-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #1a1a1a;
  line-height: 1.2;
}

.lojtart-player-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: #4a4a4a;
  margin-bottom: 0.25rem;
}

.lojtart-detail-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.lojtart-detail-label {
  color: #888;
}

.lojtart-detail-value {
  font-weight: 500;
  color: #1a1a1a;
}

.lojtart-detail-separator {
  width: 6px;
  height: 6px;
  background: #cc0000;
  border-radius: 50%;
  margin: 0 0.5rem;
}

/* Aktueller Verein */
.lojtart-current-club {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #fafafa;
  border-radius: 4px;
  min-width: 200px;
}

.lojtart-club-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.lojtart-club-logo-placeholder {
  width: 60px;
  height: 60px;
  background: #e5e5e5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lojtart-club-logo-placeholder svg {
  width: 30px;
  height: 30px;
  fill: #999;
}

.lojtart-club-info {
  display: flex;
  flex-direction: column;
}

.lojtart-club-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.lojtart-club-since {
  font-size: 0.8rem;
  color: #666;
}

.lojtart-club-since strong {
  color: #1a1a1a;
}

/* ================================================
   TAB NAVIGATION
   ================================================ */

.lojtart-kicker-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e5e5e5;
  background: #fff;
  overflow-x: auto;
  scrollbar-width: none;
}

.lojtart-kicker-tabs::-webkit-scrollbar {
  display: none;
}

.lojtart-kicker-tab {
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #666;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.lojtart-kicker-tab:hover {
  color: #1a1a1a;
}

.lojtart-kicker-tab.active {
  color: #1a1a1a;
  border-bottom-color: #cc0000;
}

/* ================================================
   TAB CONTENT
   ================================================ */

.lojtart-kicker-content {
  padding: 2rem 0;
}

.lojtart-kicker-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.lojtart-kicker-panel.active {
  display: block;
}

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

.lojtart-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e5e5;
}

/* ================================================
   INFO TAB - 3 Column Grid
   ================================================ */

.lojtart-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.lojtart-info-column {
  min-width: 0;
}

/* Spielfeld Diagramm */
.lojtart-field-diagram {
  background: #fafafa;
  border-radius: 4px;
  padding: 1rem;
}

.lojtart-field {
  position: relative;
  width: 100%;
  padding-bottom: 140%;
  background: #fff;
  border: 2px solid #333;
  border-radius: 4px;
}

.lojtart-field-half {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #333;
}

.lojtart-field-center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border: 2px solid #333;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
}

.lojtart-field-penalty-top,
.lojtart-field-penalty-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 15%;
  border: 2px solid #333;
  background: #fff;
}

.lojtart-field-penalty-top {
  top: 0;
  border-top: none;
}

.lojtart-field-penalty-bottom {
  bottom: 0;
  border-bottom: none;
}

.lojtart-position-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  background: #8b0000;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
}

/* Position-spezifische Platzierung */
.lojtart-position-marker[data-position="torwart"] {
  top: 92%;
  left: 50%;
}

.lojtart-position-marker[data-position="abwehr"] {
  top: 75%;
  left: 50%;
}

.lojtart-position-marker[data-position="mittelfeld"] {
  top: 55%;
  left: 50%;
}

.lojtart-position-marker[data-position="sturm"] {
  top: 25%;
  left: 50%;
}

.lojtart-position-marker.large {
  width: 32px;
  height: 32px;
}

.lojtart-foot-info {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.lojtart-foot-label {
  color: #888;
}

.lojtart-foot-value {
  font-weight: 600;
  color: #1a1a1a;
}

/* Karrieredaten */
.lojtart-career-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lojtart-stat-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.lojtart-stat-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.lojtart-stat-competition {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1a1a;
}

.lojtart-stat-values {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lojtart-stat-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 0.25rem 0.5rem;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a1a;
}

.lojtart-stat-label-small {
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
}

/* Vereinslaufbahn */
.lojtart-club-history {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lojtart-club-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.lojtart-club-dates {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 80px;
  font-size: 0.75rem;
  color: #888;
}

.lojtart-date-from {
  font-weight: 500;
}

.lojtart-club-history-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.lojtart-club-history-logo-placeholder {
  width: 32px;
  height: 32px;
  background: #f0f0f0;
  border-radius: 4px;
}

.lojtart-club-history-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a1a1a;
}

.lojtart-show-all-btn {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #f5f5f5;
  border: none;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.lojtart-show-all-btn:hover {
  background: #e8e8e8;
  color: #1a1a1a;
}

/* Bio Teaser */
.lojtart-bio-teaser {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

.lojtart-bio-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 1rem;
}

.lojtart-read-more-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid #cc0000;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #cc0000;
  cursor: pointer;
  transition: all 0.2s;
}

.lojtart-read-more-btn:hover {
  background: #cc0000;
  color: #fff;
}

/* ================================================
   NEWS TAB
   ================================================ */

.lojtart-news-feed {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lojtart-news-article {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.lojtart-news-article:last-child {
  border-bottom: none;
}

.lojtart-news-thumb {
  width: 180px;
  min-width: 180px;
  height: 120px;
  border-radius: 4px;
  overflow: hidden;
  background: #f0f0f0;
}

.lojtart-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lojtart-news-body {
  flex: 1;
}

.lojtart-news-meta {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.lojtart-news-headline {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.lojtart-news-headline a {
  color: #1a1a1a;
  text-decoration: none;
}

.lojtart-news-headline a:hover {
  color: #cc0000;
}

.lojtart-news-teaser {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* ================================================
   STATS TABLE
   ================================================ */

.lojtart-stats-table-wrapper {
  overflow-x: auto;
}

.lojtart-stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.lojtart-stats-table th,
.lojtart-stats-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
}

.lojtart-stats-table th {
  font-weight: 600;
  color: #666;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #fafafa;
}

.lojtart-stats-table td {
  color: #1a1a1a;
}

.lojtart-stats-table tbody tr:hover {
  background: #fafafa;
}

.lojtart-table-logo {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* ================================================
   CAREER TAB
   ================================================ */

.lojtart-career-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.lojtart-bio-full {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #4a4a4a;
}

.lojtart-bio-full p {
  margin: 0 0 1rem 0;
}

.lojtart-achievements {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.lojtart-achievements ul {
  padding-left: 1.25rem;
}

.lojtart-achievements li {
  margin-bottom: 0.5rem;
}

.lojtart-timeline-full {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lojtart-timeline-entry {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.lojtart-timeline-period {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 90px;
  font-size: 0.75rem;
  color: #888;
}

.lojtart-period-from {
  font-weight: 500;
}

.lojtart-timeline-marker-line {
  width: 12px;
  height: 12px;
  background: #cc0000;
  border-radius: 50%;
  flex-shrink: 0;
}

.lojtart-timeline-club {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lojtart-timeline-club img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.lojtart-timeline-club span {
  font-weight: 500;
  color: #1a1a1a;
}

/* ================================================
   CONTACT TAB
   ================================================ */

.lojtart-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.lojtart-contact-info-card {
  background: #fafafa;
  border-radius: 4px;
  padding: 1.5rem;
}

.lojtart-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lojtart-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e8e8e8;
}

.lojtart-contact-list li:last-child {
  border-bottom: none;
}

.lojtart-contact-list svg {
  flex-shrink: 0;
  color: #cc0000;
}

.lojtart-contact-list a {
  color: #1a1a1a;
  text-decoration: none;
}

.lojtart-contact-list a:hover {
  color: #cc0000;
}

.lojtart-social-links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
}

.lojtart-social-links h3 {
  margin: 0 0 1rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
}

.lojtart-social-icons {
  display: flex;
  gap: 0.75rem;
}

.lojtart-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  color: #fff;
  transition: all 0.2s;
}

.lojtart-social-btn:hover {
  transform: translateY(-2px);
}

.lojtart-social-btn.facebook {
  background: #1877f2;
}
.lojtart-social-btn.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.lojtart-social-btn.twitter {
  background: #1a1a1a;
}
.lojtart-social-btn.youtube {
  background: #ff0000;
}

.lojtart-contact-form-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 1.5rem;
}

/* ================================================
   EMPTY STATE
   ================================================ */

.lojtart-empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: #888;
}

.lojtart-empty-state svg {
  margin-bottom: 1rem;
  opacity: 0.5;
}

.lojtart-empty-state p {
  margin: 0;
  font-size: 0.95rem;
}

.lojtart-no-data {
  color: #888;
  font-size: 0.9rem;
  font-style: italic;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1024px) {
  .lojtart-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lojtart-info-column:first-child {
    grid-column: 1 / -1;
  }

  .lojtart-career-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .lojtart-kicker-header {
    flex-direction: column;
    gap: 1.5rem;
  }

  .lojtart-kicker-header-left {
    width: 100%;
  }

  .lojtart-current-club {
    width: 100%;
  }

  .lojtart-info-grid {
    grid-template-columns: 1fr;
  }

  .lojtart-contact-layout {
    grid-template-columns: 1fr;
  }

  .lojtart-news-article {
    flex-direction: column;
  }

  .lojtart-news-thumb {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .lojtart-profile-kicker {
    padding: 1rem;
  }

  .lojtart-kicker-header-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .lojtart-player-details {
    justify-content: center;
  }

  .lojtart-kicker-tab {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
  }
}

/* ================================================
   BIOGRAPHY TAB
   ================================================ */

.lojtart-biography-section {
  max-width: 900px;
}

.lojtart-bio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e5e5;
}

.lojtart-bio-header .lojtart-section-title {
  margin: 0;
  padding: 0;
  border: none;
}

.lojtart-bio-social {
  display: flex;
  gap: 0.5rem;
}

.lojtart-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f5f5f5;
  border-radius: 50%;
  color: #666;
  transition: all 0.2s;
}

.lojtart-social-link:hover {
  background: #cc0000;
  color: #fff;
  transform: translateY(-2px);
}

.lojtart-social-link svg {
  width: 18px;
  height: 18px;
}

.lojtart-bio-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.lojtart-bio-content p {
  margin: 0 0 1.25rem 0;
}

.lojtart-bio-content p:last-child {
  margin-bottom: 0;
}

.lojtart-bio-placeholder {
  color: #666;
}

/* Quick Stats im Biografie-Tab */
.lojtart-bio-quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: #fafafa;
  border-radius: 8px;
}

.lojtart-quick-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lojtart-quick-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.lojtart-quick-stat-label {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Achievements Section */
.lojtart-achievements-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

.lojtart-subsection-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #666;
  margin: 0 0 1rem 0;
}

.lojtart-achievements-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4a4a4a;
}

.lojtart-achievements-content ul {
  margin: 0;
  padding-left: 1.25rem;
}

.lojtart-achievements-content li {
  margin-bottom: 0.5rem;
  position: relative;
}

.lojtart-achievements-content li::marker {
  color: #cc0000;
}

/* ================================================
   NEWS TAB - KI Integration
   ================================================ */

.lojtart-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e5e5;
}

.lojtart-news-header .lojtart-section-title {
  margin: 0;
  padding: 0;
  border: none;
}

.lojtart-generate-news-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.lojtart-generate-news-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
