.sorteosContainer {
    padding: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.sorteosContainer h2 {
    text-align: center;
    margin-bottom: 5px;
}

.sorteosDesc {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.sorteosReloadWarning {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #8a6d00;
    background-color: #fff6d6;
    border: 1px solid #fdcf41;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 0 auto 18px;
    max-width: 600px;
}

.sorteosActions {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.sorteosSectionTitle {
    margin-top: 25px;
    border-bottom: 2px solid #fdcf41;
    padding-bottom: 5px;
}

/* Winner banner */
.sorteoWinnerBanner {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
    background-color: #222222;
    color: #fdcf41;
    min-height: 30px;
}

.sorteoWinnerBanner.sorteoWinnerFinal {
    animation: sorteoPulse 0.6s ease-in-out 3;
}

@keyframes sorteoPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.08); background-color: #fdcf41; color: #222222; }
    100% { transform: scale(1); }
}

/* Players list */
.sorteoPlayersList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.sorteoPlayerCard {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 10px;
}

.sorteoPlayerCard .avatarIco {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.sorteoPlayerName {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sorteoReserveTag {
    background-color: #fdcf41;
    color: #222222;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 4px;
    padding: 1px 5px;
}

.sorteoRemoveBtn {
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.7;
}

.sorteoRemoveBtn:hover {
    opacity: 1;
}

.sorteoEmpty {
    color: #999;
    font-style: italic;
    margin-top: 10px;
}

/* Winners list */
.sorteoWinnersList {
    margin-top: 10px;
    padding-left: 25px;
    list-style: decimal outside;
}

.sorteoWinnerItem {
    font-weight: 600;
    padding: 4px 0;
}

/* Add player section */
.sorteosAddSection {
    margin-top: 20px;
    text-align: center;
}

.sorteosSearchBar {
    max-width: 400px;
    margin: 10px auto 0;
}

.resultFindedContSorteo {
    max-width: 400px;
    margin: 0 auto;
}

.resultFindedSorteo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.resultFindedSorteo:hover {
    background-color: #f4f4f4;
}

.resultFindedSorteo img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.resultFindedSorteo.sorteoAlreadyIn {
    opacity: 0.4;
    cursor: default;
}

.resultFindedSorteo.sorteoAlreadyIn:hover {
    background-color: transparent;
}
