/* Search Page Specific Styles */

.points-section {
    display: flex;
    gap: 20px;
    justify-content: space-around;
}

.points-item {
    text-align: center;
    flex: 1;
}

.points-label {
    display: block;
    font-size: 0.9em;
    color: var(--text-light);
    margin-bottom: 5px;
}

.points-value {
    display: block;
    font-size: 1.8em;
    font-weight: 700;
    padding: 10px;
    border-radius: 8px;
}

.points-value.male {
    background: #e3f2fd;
    color: #1976d2;
}

.points-value.female {
    background: #fce4ec;
    color: #c2185b;
}

.team-info {
    text-align: center;
}

.team-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
}

.team-link:hover {
    color: var(--secondary);
}

.team-unknown {
    color: var(--text-light);
    font-style: italic;
}

/* Table View Styles - Page specific styles only */

.clubs-table .points-value {
    font-size: 1.3em;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    min-width: 50px;
    text-align: center;
}

.team-cell {
    color: var(--text-dark);
}

.team-cell .team-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.team-cell .team-link:hover {
    color: var(--secondary);
}

.team-cell .team-unknown {
    color: var(--text-light);
    font-style: italic;
}

/* Responsive adjustments for page-specific styles */
@media (max-width: 768px) {
    .points-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .clubs-table .points-value {
        font-size: 1.1em;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .points-value {
        font-size: 1.5em;
        padding: 8px;
    }
    
    .clubs-table .points-value {
        font-size: 1em;
        padding: 4px 8px;
        min-width: 40px;
    }
}

/* View Controls - Groups items per page dropdown with view toggle buttons */
.view-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.items-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 15px;
    border-right: 1px solid #eee;
}

.items-per-page label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9em;
    white-space: nowrap;
}

.items-per-page select {
    padding: 6px 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.9em;
    cursor: pointer;
    transition: border-color 0.2s;
}

.items-per-page select:focus {
    outline: none;
    border-color: var(--primary);
}

.items-per-page select:hover {
    border-color: var(--secondary);
}

/* Pagination styles moved to shared pagination.css */

/* Advanced search link in search form */
.search-form-card .advanced-search-link-container {
    text-align: center;
    margin-top: 12px;
}

.search-form-card .advanced-search-link {
    font-size: 0.9em;
    color: var(--secondary);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.search-form-card .advanced-search-link:hover {
    color: var(--primary);
    text-decoration: none;
    opacity: 1;
}

/* Advanced search suggestion (legacy - can be removed later) */
.advanced-search-suggestion {
    text-align: center;
    margin-top: 20px;
    padding: 16px;
    background: var(--table-row-alt);
    border-radius: 8px;
}

.advanced-search-suggestion .advanced-search-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.advanced-search-suggestion .advanced-search-link:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(243, 146, 0, 0.25);
}

.advanced-search-suggestion .advanced-search-icon {
    font-size: 1.1em;
    letter-spacing: -0.2em;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .view-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 12px;
    }
    
    .items-per-page {
        padding-right: 0;
        border-right: none;
        justify-content: center;
    }
    
    .view-toggle {
        justify-content: center;
    }
    
    .results-tabs {
        justify-content: center;
    }
    
    .tab-button {
        min-width: 140px;
        padding: 10px 24px;
    }
    
}

@media (max-width: 480px) {
    .view-controls {
        padding: 10px;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .items-per-page {
        flex-direction: row;
        gap: 6px;
        align-items: center;
        padding-right: 0;
        border-right: none;
    }
    
    .items-per-page label {
        font-size: 0.8em;
    }
    
    .items-per-page select {
        padding: 5px 8px;
        font-size: 0.8em;
    }
    
    .view-toggle-btn {
        width: 35px;
        height: 35px;
    }
    
    
    .tab-button {
        min-width: 120px;
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

/* Tab styling improvements */
.results-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--secondary);
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    min-width: 160px;
    justify-content: center;
}

.tab-button:hover {
    background: var(--table-row-hover);
}

.tab-button.active {
    background: var(--primary);
    color: #fff;
}

/* Reduce spacing in tab content area */
.tab-content-area {
    margin-top: 10px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Player role icons */
.player-role-icon {
    width: 20px;
}

.player-role-icon--with-margin {
    margin-right: 4px;
}

.previous-season-role-icon {
    opacity: 0.6;
} 