#cube-loading-indicator {
    display: none;
}


.no-extra-pick{
    text-decoration: line-through;
}
.card {
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: scale(1.05);
}
.card-img-top{
    border-radius: calc(0.25rem - 1px);
    opacity: 85%;
    transition: opacity 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card-img-top:hover{
    opacity: 100%;
}
.N {
    color: #000;
}
.R {
    color: #007bff;
    font-weight: bold;
}
.SR {
    color: #28a745;
    text-shadow: 0px 0px 5px rgba(40, 167, 69, 0.75);
}
.card-N {
    box-shadow: 0px 0px 5px #737373;
}
.card-N:hover{
    box-shadow: 0px 0px 15px #737373;
}
.card-R {
    box-shadow: 0px 0px 5px #007bff;
}
.card-R:hover{
    box-shadow: 0px 0px 15px #007bff;
}
.card-SR {
    box-shadow: 0px 0px 8px #ec7b2c;
}
.card-UR {
    box-shadow: 0px 0px 10px #541ed7;
}
.card-sidebar {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 5px;
    color: black;
    background-size: cover;
    background-position: right;
    border-radius: 5px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}
.card-info {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}
.card-count {
    margin-right: 10px;
    font-weight: bold;
    flex-shrink: 0;
    font-weight: bold;
}

.card-rarity-badge {
    position: absolute;
    top: -16px;
    right: 0px;
    height: 24px;
    width: auto;
    z-index: 1;
}

.card.border-0 {
    position: relative;
    display: inline-block;
}

#card-selection {
    min-height: 335.78px;
}

#card-selection img{
    cursor: pointer;
}

#card-selection-sidebar, #card-selection-extradeck-sidebar {
    font-size: 0.8em;
}

.new-card {
    display: none;
}

@keyframes fadeInAnimation {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeInAnimation 1s;
    display: flex; /* or your preferred display type */
}

.card-container {
    position: relative;
    display: inline-block;
}

.card-overlay {
    position: absolute;
    bottom: 7%;
    left: 50%;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 2px;
    display: inline-table;
    transform: translate(-50%, -3%);
}

@media (max-width: 576px) {
    .card-text {
        font-size: 0.8rem;
        padding: 5px;
    }
}

.card-mask {
    cursor: pointer;
    border-radius: calc(0.25rem - 1px);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.card-shine, .card-rainbow {
    position: relative;
    overflow: hidden;
    height: inherit;
}
.card-shine::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: translate(-50%, -50%) rotate(30deg);
    transform-origin: 50% 50%;
    animation: SRshine 3s infinite linear;
}
@keyframes SRshine {
    0% { transform: translate(-50%, -50%) rotate(30deg) translateX(-200%); }
    50% { transform: translate(-50%, -50%) rotate(30deg) translateX(200%); }
    100% { transform: translate(-50%, -50%) rotate(30deg) translateX(200%); }
}
.card-rainbow::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: linear-gradient( 45deg, hsla(168, 85%, 52%, 0.7), hsla(263, 88%, 45%, 0.7) 100% );
    animation: URshine 3s infinite linear, rotation 1.5s infinite linear;
}
@keyframes URshine {
    0% { opacity: 0; }
    25% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 0; }
}
@keyframes rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.opacity-100{
    opacity: 100%;
}
.card-pool-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
}

.card-pool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    padding: 10px;
    border: none;
    background-color: #f0f0f0;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.card-pool-btn img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 5px;
}

.card-pool-btn span {
    text-align: center;
}

.card-pool-btn:hover {
    background-color: #e0e0e0;
    transform: scale(1.05);
}