:root {
    --prm-player-transfer-transfer-to-new-team-color: #198754;
    --prm-player-transfer-loaned-out-color: #fd7e14;
    --prm-player-transfer-loaned-in-color: #FFB800;
    --prm-player-transfer-on-trial-color: #4B89DC;
    --prm-player-transfer-internal-club-change-color: #4b4b9b;
    --prm-player-transfer-training-color: #5BC0DE;
    --prm-player-transfer-departed-color: #dc3545;

}

/* Transfer status classes - used for both badges and buttons */
.transfer-transfer-to-new-team {
    background-color: var(--prm-player-transfer-transfer-to-new-team-color) !important;
    color: white !important;
}

.transfer-departed {
    background-color: var(--prm-player-transfer-departed-color) !important;
    color: white !important;
}

.transfer-on-trial, .transfer-on-trial-in, .transfer-on-trial-out {
    background-color: var(--prm-player-transfer-on-trial-color) !important;
    color: white !important;
}

.transfer-loaned-out {
    background-color: var(--prm-player-transfer-loaned-out-color) !important;
    color: white !important;
}

.transfer-loaned-in {
    background-color: var(--prm-player-transfer-loaned-in-color) !important;
    color: white !important;
}

.transfer-internal-club-change, .transfer-internal-club-change, .transfer-internal-club-change-in, .transfer-internal-club-change-out {
    background-color: var(--prm-player-transfer-internal-club-change-color) !important;
    color: white !important;
}

.transfer-training, .transfer-training-in, .transfer-training-out {
    background-color: var(--prm-player-transfer-training-color) !important;
    color: white !important;
}

/* Unchecked state - outline button style */
.btn-check:not(:checked) + .btn.transfer-transfer-to-new-team {
    background-color: transparent !important;
    color: var(--prm-player-transfer-transfer-to-new-team-color) !important;
    border-color: var(--prm-player-transfer-transfer-to-new-team-color) !important;
}

.btn-check:not(:checked) + .btn.transfer-departed {
    background-color: transparent !important;
    color: var(--prm-player-transfer-departed-color) !important;
    border-color: var(--prm-player-transfer-departed-color) !important;
}

.btn-check:not(:checked) + .btn.transfer-loaned-out {
    background-color: transparent !important;
    color: var(--prm-player-transfer-loaned-out-color) !important;
    border-color: var(--prm-player-transfer-loaned-out-color) !important;
}

.btn-check:not(:checked) + .btn.transfer-loaned-in {
    background-color: transparent !important;
    color: var(--prm-player-transfer-loaned-in-color) !important;
    border-color: var(--prm-player-transfer-loaned-in-color) !important;
}

.btn-check:not(:checked) + .btn.transfer-on-trial {
    background-color: transparent !important;
    color: var(--prm-player-transfer-on-trial-color) !important;
    border-color: var(--prm-player-transfer-on-trial-color) !important;
}

.btn-check:not(:checked) + .btn.transfer-on-trial-in {
    background-color: transparent !important;
    color: var(--prm-player-transfer-on-trial-color) !important;
    border-color: var(--prm-player-transfer-on-trial-color) !important;
}

.btn-check:not(:checked) + .btn.transfer-on-trial-out {
    background-color: transparent !important;
    color: var(--prm-player-transfer-on-trial-color) !important;
    border-color: var(--prm-player-transfer-on-trial-color) !important;
}

.btn-check:not(:checked) + .btn.transfer-internal-club-change {
    background-color: transparent !important;
    color: var(--prm-player-transfer-internal-club-change-color) !important;
    border-color: var(--prm-player-transfer-internal-club-change-color) !important;
}

.btn-check:not(:checked) + .btn.transfer-internal-club-change-in {
    background-color: transparent !important;
    color: var(--prm-player-transfer-internal-club-change-color) !important;
    border-color: var(--prm-player-transfer-internal-club-change-color) !important;
}

.btn-check:not(:checked) + .btn.transfer-internal-club-change-out {
    background-color: transparent !important;
    color: var(--prm-player-transfer-internal-club-change-color) !important;
    border-color: var(--prm-player-transfer-internal-club-change-color) !important;
}

.btn-check:not(:checked) + .btn.transfer-training {
    background-color: transparent !important;
    color: var(--prm-player-transfer-training-color) !important;
    border-color: var(--prm-player-transfer-training-color) !important;
}

.btn-check:not(:checked) + .btn.transfer-training-in {
    background-color: transparent !important;
    color: var(--prm-player-transfer-training-color) !important;
    border-color: var(--prm-player-transfer-training-color) !important;
}

.btn-check:not(:checked) + .btn.transfer-training-out {
    background-color: transparent !important;
    color: var(--prm-player-transfer-training-color) !important;
    border-color: var(--prm-player-transfer-training-color) !important;
}

/* Button hover styles */
.btn.transfer-transfer-to-new-team:hover {
    background-color: transparent !important;
    color: var(--prm-player-transfer-transfer-to-new-team-color) !important;
    border-color: var(--prm-player-transfer-transfer-to-new-team-color) !important;
}

.btn.transfer-departed:hover {
    background-color: transparent !important;
    color: var(--prm-player-transfer-departed-color) !important;
    border-color: var(--prm-player-transfer-departed-color) !important;
}

.btn.transfer-on-trial:hover, .btn.transfer-on-trial-in:hover, .btn.transfer-on-trial-out:hover {
    background-color: transparent !important;
    color: var(--prm-player-transfer-on-trial-color) !important;
    border-color: var(--prm-player-transfer-on-trial-color) !important;
}

.btn.transfer-loaned-out:hover {
    background-color: transparent !important;
    color: var(--prm-player-transfer-loaned-out-color) !important;
    border-color: var(--prm-player-transfer-loaned-out-color) !important;
}

.btn.transfer-loaned-in:hover {
    background-color: transparent !important;
    color: var(--prm-player-transfer-loaned-in-color) !important;
    border-color: var(--prm-player-transfer-loaned-in-color) !important;
}

.btn.transfer-internal-club-change:hover, .btn.transfer-internal-club-change-in:hover, .btn.transfer-internal-club-change-out:hover{
    background-color: transparent !important;
    color: var(--prm-player-transfer-internal-club-change-color) !important;
    border-color: var(--prm-player-transfer-internal-club-change-color) !important;
}


.btn.transfer-training:hover, .btn.transfer-training-in:hover, .btn.transfer-training-out:hover {
    background-color: transparent !important;
    color: var(--prm-player-transfer-training-color) !important;
    border-color: var(--prm-player-transfer-training-color) !important;
}

/* Focus styles for accessibility */
.btn-check:focus + .btn.transfer-transfer-to-new-team,
.btn.transfer-transfer-to-new-team:focus {
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.5) !important;
}

.btn-check:focus + .btn.transfer-departed,
.btn.transfer-departed:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5) !important;
}

.btn-check:focus + .btn.transfer-on-trial,
.btn.transfer-on-trial:focus {
    box-shadow: 0 0 0 0.2rem rgba(75, 137, 220, 0.5) !important;
}

.btn-check:focus + .btn.transfer-on-trial-in,
.btn.transfer-on-trial-in:focus {
    box-shadow: 0 0 0 0.2rem rgba(75, 137, 220, 0.5) !important;
}

.btn-check:focus + .btn.transfer-on-trial-out,
.btn.transfer-on-trial-out:focus {
    box-shadow: 0 0 0 0.2rem rgba(75, 137, 220, 0.5) !important;
}

.btn-check:focus + .btn.transfer-loaned-out,
.btn.transfer-loaned-out:focus {
    box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.5) !important;
}

.btn-check:focus + .btn.transfer-loaned-in,
.btn.transfer-loaned-in:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 184, 0, 0.5) !important;
}

.btn-check:focus + .btn.transfer-internal-club-change,
.btn.transfer-internal-club-change:focus {
    box-shadow: 0 0 0 0.2rem rgba(149, 165, 166, 0.5) !important;
}

.btn-check:focus + .btn.transfer-internal-club-change-out,
.btn.transfer-internal-club-change-in:focus {
    box-shadow: 0 0 0 0.2rem rgba(149, 165, 166, 0.5) !important;
}

.btn-check:focus + .btn.transfer-internal-club-change-in,
.btn.transfer-internal-club-change-in:focus {
    box-shadow: 0 0 0 0.2rem rgba(149, 165, 166, 0.5) !important;
}

.btn-check:focus + .btn.transfer-training,
.btn.transfer-training:focus {
    box-shadow: 0 0 0 0.2rem rgba(91, 192, 222, 0.5) !important;
}

.btn-check:focus + .btn.transfer-training-in,
.btn.transfer-training-in:focus {
    box-shadow: 0 0 0 0.2rem rgba(91, 192, 222, 0.5) !important;
}

.btn-check:focus + .btn.transfer-training-out,
.btn.transfer-training-out:focus {
    box-shadow: 0 0 0 0.2rem rgba(91, 192, 222, 0.5) !important;
}

