.evpm_card_cont {
    display: flex;
    flex-wrap: wrap;
}

.mobile-evp-men {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: rgb(255, 255, 255);
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.1) 2px 4px 12px;
    border: medium;
}

.evpm_card_header {
    text-align: center;
    vertical-align: middle;
    background-color: rgb(9, 28, 58);
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 13px;
    border-radius: 12px 12px 0 0;
}

.evpm_card_link {
    vertical-align: middle;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    color: blue;
    padding-left: 20px;
    /* Add padding for image spacing */
    background-image: url('https://assets.cdn.thewebconsole.com/S3WEB6803/images/player_link_white.png?v=2&m=6231425&cropresize(16x16)');
    /* Replace with the correct path */
    background-repeat: no-repeat;
    background-position: left center;
    /* Position the image */
}

.evpm_link_icon {
    font-size: 0.8em;
    margin-left: 5px;
    color: white;
}

.evpm_player_name_cont {
    display: inline-block;
    vertical-align: middle;
}

.evpm_player_name {
    color: #ffffff;
    font-size: 18px;
}

.evpm_card_label {
    width: 30%;
    padding: 10px 3px 3px 3px;
}

.evpm_card_value {
    padding: 10px 3px 3px 3px;
    font-weight: 500;
}

.evpm-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; 
    justify-content: flex-start;
}

.evpm_player_card {
    flex: 1 1 calc(25% - 15px);
    min-width: 280px;
    box-sizing: border-box;
}

/* Mobile full-width - 1 per row */
@media (max-width: 768px) {
    .evpm_player_card {
        flex: 1 1 100%;
    }
}

.every-player-table {
    width: 100%;
    border-collapse: collapse;
}

.every-player-thead {
    display: none;
}

.every-player-header {
    text-align: center;
    background-color: rgb(15, 28, 56);
    color: white;
}

.every-player-year-row {
    background-color: #ffffff;
}

.every-player-year-cell {
    text-align: left;
    font-weight: bold;
    padding: 10px;
}

.every-player-year-header {
    margin: 0;
    font-size: 24px;
}

.every-player-even-row {
    background-color: rgb(238, 238, 238);
}

.every-player-odd-row {
    background-color: #ffffff;
}

.every-player-cell {
    text-align: center;
}

.every-player-link-cell {
    text-align: center;
}

.every-player-link {
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    color: blue;
    padding-left: 20px;
    /* Add padding for image spacing */
    background-image: url('https://assets.cdn.thewebconsole.com/S3WEB6803/images/player_link.png?v=2&m=6231240&cropresize(16x16)');
    background-repeat: no-repeat;
    background-position: center center;
    /* Position the image */

}

.every-player-link-icon {
    font-size: 0.8em;
    margin-left: 5px;
    color: blue;
}

.btn-safc {
    background-color: #ffffff;
    /* White background */
    color: #091C3A;
    /* Custom text color */
    border: 1px solid #091C3A;
    /* Custom border */
    transition: all 0.3s ease;
    margin-left: 8px;
    margin-top: 8px;
     height: 40px;         /* Forces all buttons to same height (square) */
    display: inline-flex; /* Allows centering */
    align-items: center;  /* Vertical center */
    justify-content: center; /* Horizontal center */
    padding: 0;           /* Remove padding that might skew the fixed size */

}

.btn-safc-alpha {
    
    width: 40px;          /* Forces all buttons to same width */
}

.btn-safc-chrono {
    
    width: 148px;          /* Forces all buttons to same width */
}

.btn-safc-games {
    
    width: 148px;          /* Forces all buttons to same width */
    
}

/* Optional: Hover effect to swap colors */
.btn-safc:hover {
    background-color: #091C3A;
    color: #ffffff;
}

/* ensure labels/buttons are inline and don't expand to full width */
.btn-group .btn,
.btn-group label.btn {
  display: inline-block;
  float: none;
  width: auto;
  white-space: nowrap;
}

/* clear floats on the group container */
.btn-group { overflow: visible; }

/* optional spacing between buttons */
.btn-group .btn + .btn { margin-left: 4px; }

#searchInput {
    margin-bottom: 8px;
    margin-top: 8px;
    padding: 8px;
    width: 100%;
    max-width: 400px;
    min-width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
}

#searchInput::placeholder {
    color: #333; /* your placeholder colour */
    opacity: 1;  /* ensures consistent colour across browsers */
}

#orderSelect {
    margin-bottom: 8px;
    padding: 8px;
    width: 100%;
    max-width: 400px;
    min-width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
    background-color: #fff;
}

.hidden {
    display: none !important;
}