Spaces:
Running
Running
| /* =============================== | |
| PLAYERS ANALYSIS STYLES | |
| Top forwards/wingers analysis | |
| =============================== */ | |
| /* =============================== | |
| SET PIECE TYPE SUBTABS | |
| =============================== */ | |
| .player-subtabs-container { | |
| margin-bottom: 1.5rem; | |
| } | |
| .player-subtabs { | |
| display: flex; | |
| gap: 0.5rem; | |
| padding: 0.5rem; | |
| background: var(--gray-100); | |
| border-radius: 12px; | |
| width: fit-content; | |
| } | |
| .player-subtab { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| padding: 0.75rem 1.25rem; | |
| border: none; | |
| border-radius: 8px; | |
| background: transparent; | |
| color: var(--gray-600); | |
| font-size: 0.95rem; | |
| font-weight: 500; | |
| font-family: inherit; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| } | |
| .player-subtab:hover { | |
| background: var(--gray-200); | |
| color: var(--gray-800); | |
| } | |
| .player-subtab.active { | |
| background: var(--white); | |
| color: var(--green-vibrant); | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| } | |
| .player-subtab .subtab-icon { | |
| font-size: 1.1rem; | |
| } | |
| .player-subtab .subtab-label { | |
| font-weight: 600; | |
| } | |
| @media (max-width: 640px) { | |
| .player-subtabs { | |
| width: 100%; | |
| justify-content: center; | |
| } | |
| .player-subtab { | |
| flex: 1; | |
| justify-content: center; | |
| padding: 0.6rem 0.75rem; | |
| font-size: 0.85rem; | |
| } | |
| .player-subtab .subtab-label { | |
| display: none; | |
| } | |
| .player-subtab .subtab-icon { | |
| font-size: 1.25rem; | |
| } | |
| } | |
| /* =============================== | |
| PLAYER FILTERS GRID | |
| =============================== */ | |
| .player-filters-grid { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .player-filters-row { | |
| display: flex; | |
| gap: 1rem; | |
| align-items: flex-end; | |
| flex-wrap: wrap; | |
| } | |
| .player-filters-row .form-group { | |
| margin-bottom: 0; | |
| } | |
| .player-filters-row input[type="number"] { | |
| width: 80px; | |
| padding: 0.6rem 0.75rem; | |
| border: 2px solid var(--gray-200); | |
| border-radius: 8px; | |
| font-size: 0.9rem; | |
| font-family: inherit; | |
| } | |
| .player-filters-row input[type="number"]:focus { | |
| outline: none; | |
| border-color: var(--green-vibrant); | |
| } | |
| /* =============================== | |
| PLAYER SEARCH | |
| =============================== */ | |
| .player-search-container { | |
| display: flex; | |
| gap: 1rem; | |
| align-items: flex-end; | |
| margin-bottom: 2rem; | |
| } | |
| .player-search-box { | |
| flex: 0 1 300px; | |
| min-width: 200px; | |
| max-width: 350px; | |
| position: relative; | |
| } | |
| .player-search-box label { | |
| display: block; | |
| font-size: 0.875rem; | |
| font-weight: 500; | |
| color: var(--gray-700); | |
| margin-bottom: 0.5rem; | |
| } | |
| .player-search-input-wrapper { | |
| position: relative; | |
| } | |
| .player-search-input-wrapper input { | |
| width: 100%; | |
| padding: 1rem 1rem 1rem 3rem; | |
| border: 2px solid var(--gray-200); | |
| border-radius: 12px; | |
| font-size: 1rem; | |
| font-family: inherit; | |
| background: var(--white); | |
| color: var(--gray-900); | |
| transition: all 0.2s ease; | |
| } | |
| .player-search-input-wrapper input:focus { | |
| outline: none; | |
| border-color: var(--green-vibrant); | |
| box-shadow: 0 0 0 4px var(--green-glow); | |
| } | |
| .player-search-input-wrapper input::placeholder { | |
| color: var(--gray-400); | |
| } | |
| .player-search-icon { | |
| position: absolute; | |
| left: 1rem; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| font-size: 1.25rem; | |
| color: var(--gray-400); | |
| } | |
| .player-search-results { | |
| position: absolute; | |
| top: calc(100% + 4px); | |
| left: 0; | |
| right: 0; | |
| background: var(--white); | |
| border: 2px solid var(--green-vibrant); | |
| border-radius: 12px; | |
| max-height: 400px; | |
| overflow-y: auto; | |
| z-index: 100; | |
| display: none; | |
| box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 4px var(--green-glow); | |
| } | |
| .player-search-results::-webkit-scrollbar { | |
| width: 6px; | |
| } | |
| .player-search-results::-webkit-scrollbar-track { | |
| background: var(--gray-100); | |
| border-radius: 3px; | |
| } | |
| .player-search-results::-webkit-scrollbar-thumb { | |
| background: var(--green-vibrant); | |
| border-radius: 3px; | |
| } | |
| .player-search-results.show { | |
| display: block; | |
| } | |
| .player-search-result-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 1rem; | |
| padding: 0.875rem 1rem; | |
| cursor: pointer; | |
| transition: background 0.15s ease; | |
| border-bottom: 1px solid var(--gray-100); | |
| } | |
| .player-search-result-item:hover { | |
| background: var(--green-light); | |
| } | |
| .player-search-result-item:last-child { | |
| border-bottom: none; | |
| } | |
| .player-result-avatar { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| background: var(--gray-200); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.25rem; | |
| flex-shrink: 0; | |
| } | |
| .player-result-avatar img { | |
| width: 100%; | |
| height: 100%; | |
| border-radius: 50%; | |
| object-fit: cover; | |
| } | |
| .player-result-info { | |
| flex: 1; | |
| min-width: 0; | |
| } | |
| .player-result-name { | |
| font-weight: 600; | |
| color: var(--gray-900); | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .player-result-meta { | |
| font-size: 0.8rem; | |
| color: var(--gray-500); | |
| } | |
| .player-result-stats { | |
| text-align: right; | |
| font-family: 'Space Mono', monospace; | |
| flex-shrink: 0; | |
| } | |
| .player-result-esv { | |
| font-weight: 700; | |
| color: var(--green-vibrant); | |
| font-size: 0.9rem; | |
| } | |
| .player-result-corners { | |
| font-size: 0.7rem; | |
| color: var(--gray-500); | |
| } | |
| /* Search highlight */ | |
| .search-highlight { | |
| background: linear-gradient(135deg, var(--green-glow) 0%, rgba(57, 255, 20, 0.3) 100%); | |
| color: var(--green-vibrant); | |
| font-weight: 700; | |
| padding: 0 2px; | |
| border-radius: 2px; | |
| } | |
| /* No results state */ | |
| .player-search-result-item.no-results { | |
| justify-content: center; | |
| color: var(--gray-500); | |
| font-size: 0.9rem; | |
| padding: 1.5rem 1rem; | |
| cursor: default; | |
| } | |
| .player-search-result-item.no-results:hover { | |
| background: transparent; | |
| } | |
| .no-results-icon { | |
| font-size: 1.25rem; | |
| margin-right: 0.5rem; | |
| } | |
| /* Highlighted item (keyboard navigation) */ | |
| .player-search-result-item.highlighted { | |
| background: var(--green-light); | |
| border-left: 3px solid var(--green-vibrant); | |
| } | |
| /* League selector for players */ | |
| .player-league-select { | |
| min-width: 240px; | |
| flex-shrink: 0; | |
| } | |
| /* Style filters */ | |
| .player-style-filter { | |
| min-width: 120px; | |
| } | |
| .player-style-filter label { | |
| display: block; | |
| font-size: 0.8rem; | |
| font-weight: 500; | |
| color: var(--gray-700); | |
| margin-bottom: 0.4rem; | |
| } | |
| .player-style-filter select { | |
| width: 100%; | |
| padding: 0.6rem 0.8rem; | |
| border: 2px solid var(--gray-200); | |
| border-radius: 8px; | |
| font-size: 0.85rem; | |
| font-family: inherit; | |
| background: var(--white); | |
| color: var(--gray-900); | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| } | |
| .player-style-filter select:focus { | |
| outline: none; | |
| border-color: var(--green-vibrant); | |
| box-shadow: 0 0 0 3px var(--green-glow); | |
| } | |
| .player-search-container { | |
| display: flex; | |
| gap: 0.75rem; | |
| align-items: flex-end; | |
| flex-wrap: wrap; | |
| } | |
| /* =============================== | |
| TOP PLAYERS GRID | |
| =============================== */ | |
| .top-players-section { | |
| margin-bottom: 2rem; | |
| } | |
| .top-players-header { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| margin-bottom: 1.5rem; | |
| flex-wrap: wrap; | |
| gap: 1rem; | |
| } | |
| .sort-controls { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| } | |
| .sort-controls label { | |
| font-size: 0.85rem; | |
| color: var(--gray-600); | |
| white-space: nowrap; | |
| } | |
| .sort-controls select { | |
| padding: 0.5rem 0.75rem; | |
| border: 2px solid var(--gray-200); | |
| border-radius: 6px; | |
| font-size: 0.85rem; | |
| font-family: inherit; | |
| color: var(--gray-700); | |
| background: var(--white); | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| } | |
| .sort-controls select:hover { | |
| border-color: var(--gray-300); | |
| } | |
| .sort-controls select:focus { | |
| outline: none; | |
| border-color: var(--green-vibrant); | |
| box-shadow: 0 0 0 3px var(--green-glow); | |
| } | |
| .top-players-title { | |
| font-size: 1.25rem; | |
| font-weight: 700; | |
| color: var(--gray-900); | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| } | |
| .top-players-title::before { | |
| content: ''; | |
| width: 4px; | |
| height: 24px; | |
| background: var(--green-vibrant); | |
| border-radius: 2px; | |
| } | |
| .top-players-subtitle { | |
| color: var(--gray-500); | |
| font-size: 0.9rem; | |
| } | |
| .player-cards-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); | |
| gap: 1.25rem; | |
| } | |
| .player-card { | |
| background: var(--white); | |
| border: 2px solid var(--gray-200); | |
| border-radius: 16px; | |
| padding: 1.25rem; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .player-card:hover { | |
| border-color: var(--green-vibrant); | |
| transform: translateY(-4px); | |
| box-shadow: 0 12px 30px rgba(34, 139, 34, 0.15); | |
| } | |
| .player-card.selected { | |
| border-color: var(--green-vibrant); | |
| background: linear-gradient(135deg, var(--green-light) 0%, var(--white) 100%); | |
| } | |
| .player-card-rank { | |
| position: absolute; | |
| top: 0.75rem; | |
| left: 0.75rem; | |
| width: 28px; | |
| height: 28px; | |
| background: linear-gradient(135deg, var(--green-dark), var(--green-vibrant)); | |
| color: var(--white); | |
| border-radius: 8px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 0.8rem; | |
| font-weight: 700; | |
| } | |
| .player-card-rank.top-3 { | |
| background: linear-gradient(135deg, #f59e0b, #d97706); | |
| } | |
| .player-card-avatar { | |
| width: 70px; | |
| height: 70px; | |
| border-radius: 50%; | |
| background: var(--gray-100); | |
| margin: 0 auto 1rem; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 2rem; | |
| border: 3px solid var(--gray-200); | |
| overflow: hidden; | |
| } | |
| .player-card-avatar img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| } | |
| .player-card-name { | |
| font-size: 1rem; | |
| font-weight: 700; | |
| color: var(--gray-900); | |
| text-align: center; | |
| margin-bottom: 0.25rem; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .player-card-team { | |
| font-size: 0.8rem; | |
| color: var(--gray-500); | |
| text-align: center; | |
| margin-bottom: 1rem; | |
| } | |
| .player-card-stats { | |
| display: grid; | |
| grid-template-columns: repeat(2, 1fr); | |
| gap: 0.5rem; | |
| } | |
| .player-card-stat { | |
| text-align: center; | |
| padding: 0.5rem; | |
| background: var(--gray-50); | |
| border-radius: 8px; | |
| } | |
| .player-card-stat-value { | |
| font-size: 1rem; | |
| font-weight: 700; | |
| color: var(--green-dark); | |
| font-family: 'Space Mono', monospace; | |
| } | |
| .player-card-stat-label { | |
| font-size: 0.65rem; | |
| color: var(--gray-500); | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| /* =============================== | |
| PLAYER PROFILE | |
| =============================== */ | |
| .player-profile-section { | |
| display: none; | |
| } | |
| .player-profile-section.show { | |
| display: block; | |
| animation: fadeIn 0.3s ease; | |
| } | |
| .player-profile-header { | |
| display: flex; | |
| gap: 2rem; | |
| margin-bottom: 2rem; | |
| padding: 2rem; | |
| background: linear-gradient(135deg, var(--green-light) 0%, var(--white) 100%); | |
| border: 2px solid var(--green-vibrant); | |
| border-radius: 20px; | |
| } | |
| .player-profile-avatar { | |
| width: 140px; | |
| height: 140px; | |
| border-radius: 50%; | |
| background: var(--white); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 4rem; | |
| border: 4px solid var(--green-vibrant); | |
| flex-shrink: 0; | |
| overflow: hidden; | |
| box-shadow: 0 8px 30px rgba(34, 139, 34, 0.2); | |
| } | |
| .player-profile-avatar img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| } | |
| .player-profile-info { | |
| flex: 1; | |
| } | |
| .player-profile-name { | |
| font-size: 2rem; | |
| font-weight: 700; | |
| color: var(--gray-900); | |
| margin-bottom: 0.5rem; | |
| } | |
| .player-profile-meta { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 1.5rem; | |
| margin-bottom: 1rem; | |
| } | |
| .player-meta-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| font-size: 0.95rem; | |
| color: var(--gray-600); | |
| } | |
| .player-meta-item-icon { | |
| font-size: 1.1rem; | |
| } | |
| .player-meta-item-value { | |
| font-weight: 600; | |
| color: var(--gray-900); | |
| } | |
| .player-profile-badges { | |
| display: flex; | |
| gap: 0.75rem; | |
| flex-wrap: wrap; | |
| } | |
| .player-badge { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.4rem; | |
| padding: 0.4rem 0.75rem; | |
| border-radius: 20px; | |
| font-size: 0.8rem; | |
| font-weight: 600; | |
| } | |
| .player-badge.position { | |
| background: #dbeafe; | |
| color: #1e40af; | |
| } | |
| .player-badge.tm-position { | |
| background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); | |
| color: #ffffff; | |
| font-weight: 700; | |
| min-width: 120px; | |
| justify-content: center; | |
| } | |
| .player-badge.tm-position.loaded { | |
| box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4); | |
| } | |
| .player-badge.market-value { | |
| background: #fef3c7; | |
| color: #92400e; | |
| } | |
| .player-badge.market-value.loaded { | |
| background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%); | |
| color: #1a1a1a; | |
| font-weight: 700; | |
| box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4); | |
| } | |
| .player-badge.contract { | |
| background: linear-gradient(135deg, #10b981 0%, #059669 100%); | |
| color: #ffffff; | |
| font-weight: 600; | |
| } | |
| .player-badge.contract.loaded { | |
| box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4); | |
| } | |
| .player-badge.nationality { | |
| background: var(--gray-100); | |
| color: var(--gray-700); | |
| } | |
| /* Transfermarkt loading state */ | |
| .tm-loading { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| padding: 0.5rem 1rem; | |
| background: var(--gray-100); | |
| border-radius: 8px; | |
| font-size: 0.85rem; | |
| color: var(--gray-600); | |
| } | |
| .tm-loading::before { | |
| content: ''; | |
| width: 14px; | |
| height: 14px; | |
| border: 2px solid var(--gray-300); | |
| border-top-color: var(--green-vibrant); | |
| border-radius: 50%; | |
| animation: spin 0.8s linear infinite; | |
| } | |
| /* =============================== | |
| LEAGUE BENCHMARK BAR | |
| =============================== */ | |
| .league-benchmark-bar { | |
| background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%); | |
| border: 1px solid var(--gray-200); | |
| border-radius: 12px; | |
| padding: 1rem 1.5rem; | |
| margin-bottom: 1.5rem; | |
| } | |
| .league-benchmark-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| margin-bottom: 0.75rem; | |
| } | |
| .league-benchmark-icon { | |
| font-size: 1.1rem; | |
| } | |
| .league-benchmark-title { | |
| font-weight: 600; | |
| color: var(--gray-800); | |
| font-size: 0.9rem; | |
| } | |
| .league-benchmark-subtitle { | |
| font-size: 0.75rem; | |
| color: var(--gray-500); | |
| } | |
| .league-benchmark-stats { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 1rem; | |
| justify-content: space-between; | |
| } | |
| .league-benchmark-stat { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| min-width: 70px; | |
| padding: 0.5rem 0.75rem; | |
| background: var(--white); | |
| border-radius: 8px; | |
| border: 1px solid var(--gray-200); | |
| } | |
| .league-benchmark-stat .benchmark-value { | |
| font-size: 1rem; | |
| font-weight: 700; | |
| color: var(--gray-800); | |
| } | |
| .league-benchmark-stat .benchmark-label { | |
| font-size: 0.7rem; | |
| color: var(--gray-500); | |
| text-transform: uppercase; | |
| letter-spacing: 0.3px; | |
| margin-top: 0.25rem; | |
| } | |
| .league-benchmark-stat.players-count { | |
| background: linear-gradient(135deg, var(--green-vibrant) 0%, #2ecc71 100%); | |
| border-color: var(--green-vibrant); | |
| } | |
| .league-benchmark-stat.players-count .benchmark-value { | |
| color: var(--white); | |
| } | |
| .league-benchmark-stat.players-count .benchmark-label { | |
| color: rgba(255, 255, 255, 0.85); | |
| } | |
| @media (max-width: 768px) { | |
| .league-benchmark-stats { | |
| gap: 0.5rem; | |
| } | |
| .league-benchmark-stat { | |
| min-width: 60px; | |
| padding: 0.4rem 0.5rem; | |
| } | |
| .league-benchmark-stat .benchmark-value { | |
| font-size: 0.9rem; | |
| } | |
| } | |
| /* =============================== | |
| PLAYER STATS DASHBOARD | |
| =============================== */ | |
| .player-stats-grid { | |
| display: grid; | |
| grid-template-columns: repeat(5, 1fr); | |
| gap: 1rem; | |
| margin-bottom: 2rem; | |
| } | |
| @media (max-width: 1400px) { | |
| .player-stats-grid { | |
| grid-template-columns: repeat(3, 1fr); | |
| } | |
| } | |
| @media (max-width: 900px) { | |
| .player-stats-grid { | |
| grid-template-columns: repeat(2, 1fr); | |
| } | |
| } | |
| @media (max-width: 600px) { | |
| .player-stats-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| .player-stats-card { | |
| background: var(--white); | |
| border: 1px solid var(--gray-200); | |
| border-radius: 12px; | |
| padding: 1rem; | |
| box-shadow: var(--shadow); | |
| } | |
| .player-stats-card-title { | |
| font-size: 0.8rem; | |
| font-weight: 600; | |
| color: var(--gray-700); | |
| margin-bottom: 0.75rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.4rem; | |
| } | |
| .player-stats-card-title .icon { | |
| font-size: 1rem; | |
| } | |
| .player-stat-row { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 0.4rem 0; | |
| border-bottom: 1px solid var(--gray-100); | |
| } | |
| .player-stat-row:last-child { | |
| border-bottom: none; | |
| } | |
| .player-stat-label { | |
| color: var(--gray-600); | |
| font-size: 0.75rem; | |
| } | |
| .player-stat-value { | |
| font-weight: 700; | |
| color: var(--gray-900); | |
| font-family: 'Space Mono', monospace; | |
| font-size: 0.85rem; | |
| } | |
| .player-stat-value.highlight { | |
| color: var(--green-vibrant); | |
| } | |
| .player-stat-value.warning { | |
| color: var(--orange); | |
| } | |
| /* =============================== | |
| PLAYER PLOTS | |
| =============================== */ | |
| .player-plots-section { | |
| margin-top: 2rem; | |
| } | |
| .player-plots-title { | |
| font-size: 1.25rem; | |
| font-weight: 700; | |
| color: var(--gray-900); | |
| margin-bottom: 1.5rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| } | |
| .player-plots-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); | |
| gap: 1.5rem; | |
| } | |
| .player-plot-card { | |
| background: var(--white); | |
| border: 1px solid var(--gray-200); | |
| border-radius: 16px; | |
| overflow: hidden; | |
| transition: all 0.3s ease; | |
| } | |
| .player-plot-card:hover { | |
| box-shadow: var(--shadow-lg); | |
| transform: translateY(-4px); | |
| } | |
| .player-plot-card img { | |
| width: 100%; | |
| height: auto; | |
| display: block; | |
| cursor: pointer; | |
| } | |
| .player-plot-card-footer { | |
| padding: 1rem 1.25rem; | |
| background: var(--gray-50); | |
| border-top: 1px solid var(--gray-200); | |
| } | |
| .player-plot-card-title { | |
| font-weight: 600; | |
| color: var(--gray-900); | |
| font-size: 0.9rem; | |
| } | |
| /* =============================== | |
| PLACEHOLDER STATES | |
| =============================== */ | |
| .placeholder-container { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 4rem 2rem; | |
| text-align: center; | |
| } | |
| .placeholder-icon { | |
| font-size: 4rem; | |
| margin-bottom: 1.5rem; | |
| opacity: 0.5; | |
| } | |
| .placeholder-title { | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| color: var(--gray-700); | |
| margin-bottom: 0.5rem; | |
| } | |
| .placeholder-text { | |
| color: var(--gray-500); | |
| font-size: 1rem; | |
| max-width: 400px; | |
| } | |
| /* =============================== | |
| SKELETON LOADING | |
| =============================== */ | |
| .skeleton { | |
| background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%); | |
| background-size: 200% 100%; | |
| animation: skeleton-loading 1.5s infinite; | |
| border-radius: 8px; | |
| } | |
| @keyframes skeleton-loading { | |
| 0% { background-position: 200% 0; } | |
| 100% { background-position: -200% 0; } | |
| } | |
| .skeleton-avatar { | |
| width: 70px; | |
| height: 70px; | |
| border-radius: 50%; | |
| } | |
| .skeleton-text { | |
| height: 1rem; | |
| margin-bottom: 0.5rem; | |
| } | |
| .skeleton-text.short { | |
| width: 60%; | |
| } | |
| .skeleton-text.medium { | |
| width: 80%; | |
| } | |
| /* =============================== | |
| TRANSFERMARKT CARD | |
| =============================== */ | |
| .player-stats-card.tm-card { | |
| background: linear-gradient(145deg, #0f1419 0%, #1a2332 50%, #0d2818 100%); | |
| border: 2px solid var(--green-vibrant); | |
| position: relative; | |
| overflow: hidden; | |
| box-shadow: 0 4px 20px rgba(57, 255, 20, 0.15), inset 0 1px 0 rgba(255,255,255,0.05); | |
| } | |
| .player-stats-card.tm-card::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 3px; | |
| background: linear-gradient(90deg, var(--green-vibrant), #00ff88, var(--green-vibrant)); | |
| opacity: 0.8; | |
| } | |
| .player-stats-card.tm-card .player-stats-card-title { | |
| color: var(--green-vibrant); | |
| font-size: 0.85rem; | |
| text-shadow: 0 0 10px rgba(57, 255, 20, 0.3); | |
| } | |
| .player-stats-card.tm-card .player-stat-row { | |
| border-bottom-color: rgba(255, 255, 255, 0.08); | |
| } | |
| .player-stats-card.tm-card .player-stat-label { | |
| color: #8b9cb3; | |
| font-size: 0.8rem; | |
| } | |
| .player-stats-card.tm-card .player-stat-value { | |
| color: #ffffff; | |
| font-weight: 600; | |
| font-size: 0.9rem; | |
| } | |
| .tm-loading { | |
| color: #6b7a8f; | |
| font-style: italic; | |
| animation: pulse 1.5s infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { opacity: 0.5; } | |
| 50% { opacity: 1; } | |
| } | |
| /* Transfermarkt box loading state */ | |
| .tm-loading-state { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.75rem; | |
| padding: 1.5rem; | |
| color: #8b9cb3; | |
| font-size: 0.9rem; | |
| } | |
| .tm-spinner { | |
| width: 20px; | |
| height: 20px; | |
| border: 2px solid rgba(139, 156, 179, 0.3); | |
| border-top-color: var(--green-vibrant); | |
| border-radius: 50%; | |
| animation: spin 0.8s linear infinite; | |
| } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } | |
| .tm-error-state { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 1rem; | |
| color: #8b9cb3; | |
| font-size: 0.85rem; | |
| text-align: center; | |
| } | |
| /* Market value badge styles */ | |
| /* =============================== | |
| MULTISELECT DROPDOWN | |
| =============================== */ | |
| .multiselect-container { | |
| position: relative; | |
| min-width: 220px; | |
| width: 240px; | |
| } | |
| .multiselect-trigger { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 0.75rem 1rem; | |
| background: var(--white); | |
| border: 2px solid var(--gray-200); | |
| border-radius: 8px; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| font-size: 0.9rem; | |
| color: var(--gray-700); | |
| } | |
| .multiselect-trigger:hover { | |
| border-color: var(--gray-300); | |
| } | |
| .multiselect-container.open .multiselect-trigger { | |
| border-color: var(--green-vibrant); | |
| box-shadow: 0 0 0 3px var(--green-glow); | |
| } | |
| .multiselect-arrow { | |
| font-size: 0.7rem; | |
| transition: transform 0.2s ease; | |
| color: var(--gray-500); | |
| } | |
| .multiselect-container.open .multiselect-arrow { | |
| transform: rotate(180deg); | |
| } | |
| .multiselect-dropdown { | |
| position: absolute; | |
| top: calc(100% + 4px); | |
| left: 0; | |
| right: 0; | |
| background: var(--white); | |
| border: 2px solid var(--gray-200); | |
| border-radius: 8px; | |
| box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); | |
| z-index: 100; | |
| max-height: 300px; | |
| overflow: hidden; | |
| display: none; | |
| } | |
| .multiselect-container.open .multiselect-dropdown { | |
| display: block; | |
| } | |
| .multiselect-actions { | |
| display: flex; | |
| gap: 0.5rem; | |
| padding: 0.5rem; | |
| border-bottom: 1px solid var(--gray-200); | |
| background: var(--gray-50); | |
| } | |
| .multiselect-action-btn { | |
| flex: 1; | |
| padding: 0.4rem 0.75rem; | |
| border: 1px solid var(--gray-300); | |
| border-radius: 4px; | |
| background: var(--white); | |
| color: var(--gray-600); | |
| font-size: 0.75rem; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| } | |
| .multiselect-action-btn:hover { | |
| background: var(--green-vibrant); | |
| color: white; | |
| border-color: var(--green-vibrant); | |
| } | |
| .multiselect-list { | |
| max-height: 240px; | |
| overflow-y: auto; | |
| padding: 0.5rem; | |
| } | |
| .multiselect-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| padding: 0.5rem 0.75rem; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| transition: background 0.15s ease; | |
| font-size: 0.85rem; | |
| color: var(--gray-700); | |
| } | |
| .multiselect-item:hover { | |
| background: var(--gray-100); | |
| } | |
| .multiselect-item input[type="checkbox"] { | |
| width: 16px; | |
| height: 16px; | |
| cursor: pointer; | |
| accent-color: var(--green-vibrant); | |
| } | |
| .multiselect-loading, | |
| .multiselect-error { | |
| padding: 1rem; | |
| text-align: center; | |
| color: var(--gray-500); | |
| font-size: 0.85rem; | |
| } | |
| .multiselect-error { | |
| color: #ef4444; | |
| } | |
| /* =============================== | |
| PAGINATION | |
| =============================== */ | |
| .players-pagination { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 1rem; | |
| margin-top: 2rem; | |
| padding-top: 2rem; | |
| border-top: 1px solid var(--gray-200); | |
| } | |
| .pagination-info { | |
| font-size: 0.875rem; | |
| color: var(--gray-600); | |
| } | |
| .pagination-controls { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| } | |
| .pagination-btn { | |
| padding: 0.5rem 1rem; | |
| border: 1px solid var(--gray-300); | |
| border-radius: 6px; | |
| background: var(--white); | |
| color: var(--gray-700); | |
| font-size: 0.875rem; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| font-family: inherit; | |
| } | |
| .pagination-btn:hover:not(:disabled) { | |
| border-color: var(--green-vibrant); | |
| color: var(--green-vibrant); | |
| } | |
| .pagination-btn.active { | |
| background: var(--green-vibrant); | |
| border-color: var(--green-vibrant); | |
| color: white; | |
| } | |
| .pagination-btn:disabled { | |
| opacity: 0.5; | |
| cursor: not-allowed; | |
| } | |
| .pagination-prev, | |
| .pagination-next { | |
| font-weight: 500; | |
| } | |
| .pagination-ellipsis { | |
| padding: 0.5rem; | |
| color: var(--gray-500); | |
| } | |
| /* =============================== | |
| RESPONSIVE | |
| =============================== */ | |
| @media (max-width: 768px) { | |
| .player-search-container { | |
| flex-direction: column; | |
| align-items: stretch; | |
| } | |
| .player-league-select { | |
| min-width: auto; | |
| } | |
| .player-profile-header { | |
| flex-direction: column; | |
| align-items: center; | |
| text-align: center; | |
| } | |
| .player-profile-meta { | |
| justify-content: center; | |
| } | |
| .player-profile-badges { | |
| justify-content: center; | |
| } | |
| .player-cards-grid { | |
| grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); | |
| } | |
| .player-plots-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |