/* Locker Room Title & Grid Spacing */
.locker-room-title {
    margin: 2rem 0;
}

.locker-room-grid-spacing,
.locker-room-grid {
    margin: 1.5rem 0 2rem;
}

/* Player Block */
.player-block {
    margin-bottom: 10px;
}

/* --- Panel Heading Styles --- */
.panel-heading {
    background-color: #091c3a;
    color: #ffffff;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px 5px 0 0;
    font-family: 'Exo', sans-serif;
    font-weight: 500;
    font-size: 2.441rem;
    display: flex;
    align-items: baseline;
}

.panel-heading b {
    font-weight: 700;
}

.panel-heading small {
    font-size: 0.85em;
    opacity: 0.8;
    margin-left: 10px;
}

/* List Group Items */
.panel-body .list-group-item {
    padding: 6px 12px;
}

/* --- Jumper Panel Styles --- */
.jumper-panel {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    min-height: 270px;
}

/* Hover Effect */
.jumper-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Panel Heading */
.jumper-panel .panel-heading {
    background-color: #091c3a;
    color: #fff;
    font-size: 1.2em;
    padding: 15px;
    border-bottom: 1px solid #061223;
    border-radius: 3px 3px 0 0;
}

/* Panel Body */
.jumper-panel .panel-body {
    padding: 0;
}

/* List Group */
.jumper-panel .panel-body .list-group {
    margin-bottom: 0;
    border-radius: 0;
}

/* List Group Items */
.jumper-panel .panel-body .list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 12px 15px;
    font-size: 1.05em;
    color: #555;
    background-color: #fff;
}

.jumper-panel .panel-body .list-group-item:last-child {
    border-bottom: none;
}

/* --- Guernsey Styling --- */
.guernsey-container .fa-tshirt {
    color: #091c3a;
}

.guernsey-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    color: white;
}

/* Centering the Nameplates */
.nameplate-container {
    display: flex;
    justify-content: center;
    /* Centers nameplates horizontally */
    flex-wrap: wrap;
    /* Allows wrapping if multiple nameplates */
    gap: 20px;
    /* Adds space between nameplates */
    padding: 20px;
    /* Optional: Adds padding around the container */
}

/* Individual Nameplate */
.nameplate {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: 250px; */
    width: 90%;
    padding: 12px;
    border: 1px solid #091c3a;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    /* background: linear-gradient(to bottom, #0b2351, #091c3a); */
    color: white;
    text-align: center;
    font-family: 'Exo', sans-serif;
}

/* Player Number */
.nameplate-header {
    font-size: 2rem;
    font-weight: bold;
    color: gold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Player Name & Era */
.nameplate-body {
    font-size: 1.563rem;
    margin-top: 5px;
}

.player-firstname {
    font-weight: bold;
    /* text-transform: uppercase; */
}
.player-surname {
    font-weight: bold;
    text-transform: uppercase;
}

.player-era {
    font-size: 1.25rem;
    opacity: 0.8;
}



/* --- Equal Height Panels (Responsive) --- */
@media (min-width: 768px) {
    .row.equal-height-panels {
        display: flex;
        flex-wrap: wrap;
    }

    .row.equal-height-panels>[class*="col-"] {
        display: flex;
        flex-direction: column;
    }

    .row.equal-height-panels>[class*="col-"] .jumper-panel {
        flex: 1;
        margin-bottom: 0;
    }

    .row.equal-height-panels>[class*="col-"]:not(:last-child) {
        margin-bottom: 20px;
    }
}