@charset "utf-8";
/* CSS Document */

:root {
            --primary: #002244;
            --secondary: #C60C30;
            --accent: #B0B7BC;
            --light: #f5f5f7;
            --dark: #333;
            --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }
        
        body {
            background-color: #f0f2f5;
            color: var(--dark);
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        header {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px 0;
            background-color: var(--primary);
            color: white;
            margin-bottom: 30px;
            box-shadow: var(--shadow);
            border-radius: 8px;
        }
        
        header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }
        
        header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .logo {
            width: 80px;
            margin-bottom: 15px;
        }

		.sort-icon {
			display: inline-block;
			margin-left: 5px;
			font-size: 0.8em;
			color: #6B7280;
		}

		th:hover .sort-icon {
			color: #374151;
		}

		th[data-sort] {
			cursor: pointer;
		}
        
        .controls {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
            justify-content: space-between;
            align-items: center;
        }
        
        .search-container {
            position: relative;
            flex: 1;
            min-width: 250px;
        }
        
        .search-container i {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #6B7280;
        }
        
        #search {
            width: 100%;
            padding: 10px 10px 10px 35px;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            font-size: 0.95rem;
            transition: all 0.3s;
        }
        
        #search:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(0, 34, 68, 0.2);
        }
        
        .filters {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        select {
            padding: 10px;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            background-color: white;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s;
            min-width: 120px;
        }
        
        select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(0, 34, 68, 0.2);
        }
        
        .count {
            font-size: 0.95rem;
            color: #6B7280;
            margin-bottom: 15px;
        }
        
        .roster-table {
            width: 100%;
            border-collapse: collapse;
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow);
            margin-bottom: 30px;
        }
        
        .roster-table th {
            background-color: #f9fafb;
            text-align: left;
            padding: 12px 15px;
            font-weight: 600;
            color: #374151;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px solid #e5e7eb;
            cursor: pointer;
            user-select: none;
        }
        
        .roster-table th:hover {
            background-color: #f3f4f6;
        }
        
        .roster-table th i {
            margin-left: 5px;
        }
        
        .roster-table td {
            padding: 12px 15px;
            border-bottom: 1px solid #e5e7eb;
            font-size: 0.95rem;
        }
        
        .roster-table tr:last-child td {
            border-bottom: none;
        }
        
        .roster-table tbody tr:hover {
            background-color: #f9fafb;
        }
		
		.roster-table td:nth-child(n+3),
		.roster-table th:nth-child(n+3) {
			text-align: center;
		}

		.roster-table td:nth-child(n+3),
		.roster-table th:nth-child(n+3) {
			text-align: center;
		}

		/* Keep both number and name columns left-aligned */
		.roster-table td:first-child,
		.roster-table th:first-child,
		.roster-table td:nth-child(2),
		.roster-table th:nth-child(2) {
			text-align: left;
		}

		/* Center the position badge content */
		.position-badge {
			display: inline-block;
			padding: 3px 8px;
			background-color: rgba(0, 34, 68, 0.1);
			color: var(--primary);
			border-radius: 4px;
			font-weight: 600;
			font-size: 0.85rem;
			text-align: center;
			min-width: 45px; /* Ensures consistent width for badges */
		}
        .position-badge {
			display: inline-block;
			padding: 3px 8px;
			background-color: rgba(0, 34, 68, 0.1);
			color: var(--primary);
			border-radius: 4px;
			font-weight: 600;
			font-size: 0.85rem;
			text-align: center;
			min-width: 45px; /* Ensures consistent width for badges */
		}
        
        .player-name {
            font-weight: 600;
            color: var(--primary);
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        @media (min-width: 1200px) {
            .stats-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .stat-card.full-width {
                grid-column: span 3;
            }
        }
        
        .stat-card {
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: var(--shadow);
        }
        
        .stat-card h3 {
            font-size: 1.1rem;
            color: var(--primary);
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .stat-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        
        .stat-label {
            color: #6B7280;
        }
        
        .stat-value {
            font-weight: 600;
        }
        
        .no-results {
            text-align: center;
            padding: 40px;
            color: #6B7280;
        }

        .status-active {
            color: #10B981;
        }

        .status-inactive {
            color: #EF4444;
        }

        .status-other {
            color: #F59E0B;
        }
        
        .status-heading {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary);
            margin: 30px 0 15px 0;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--primary);
        }
        
        .pf_stats_tooltip {
            position: relative;
            cursor: pointer;
        }
        
        .pf_stats_tooltip-text {
            visibility: hidden;
            background-color: rgba(0, 0, 0, 0.8);
            color: #fff;
            text-align: center;
            border-radius: 4px;
            padding: 5px 10px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            opacity: 0;
            transition: opacity 0.3s;
            white-space: nowrap;
            font-size: 0.85rem;
        }
        
        .pf_stats_tooltip:hover .pf_stats_tooltip-text {
            visibility: visible;
            opacity: 1;
        }
        
        @media (max-width: 768px) {
            .controls {
                flex-direction: column;
                align-items: stretch;
            }
            
            .search-container {
                width: 100%;
            }
            
            .roster-table {
                display: block;
                overflow-x: auto;
            }
			
			/* Hide Height column (5th column after removing Unit) */
			.roster-table th:nth-child(5),
			.roster-table td:nth-child(5) {
				display: none;
			}

			/* Hide Weight column (6th column after removing Unit) */
			.roster-table th:nth-child(6),
			.roster-table td:nth-child(6) {
				display: none;
			}

			/* Hide Draft column (7th column after removing Unit) */
			.roster-table th:nth-child(7),
			.roster-table td:nth-child(7) {
				display: none;
			}

			/* Make the table fit better on mobile */
			.roster-table {
				font-size: 0.9rem;
			}

			/* Reduce padding in cells for mobile */
			.roster-table td, 
			.roster-table th {
				padding: 8px 10px;
			}

        }