body {
    font-family: 'Inter', sans-serif;
}

.card-container {
    width: 90px;
    height: 130px;
    perspective: 1000px;
}

.estimation-card {
    transition: all 0.2s ease-in-out;
    position: relative;
    cursor: grab;
    width: 100%;
    height: 100%;
}

.estimation-card:active {
    cursor: grabbing;
}

.estimation-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.selected-card {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.5);
    /* Bootstrap primary color focus */
    background-color: #0d6efd;
    /* Bootstrap primary color */
    color: white !important;
}

.player-card-back {
    background: repeating-linear-gradient(45deg,
            #adb5bd,
            #adb5bd 10px,
            #6c757d 10px,
            #6c757d 20px);
    color: transparent;
}

.delete-card-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    /* Bootstrap danger color */
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    opacity: 0.6;
    z-index: 10;
}

.estimation-card:hover .delete-card-btn {
    opacity: 1;
}

.delete-card-btn:hover {
    transform: scale(1.1);
    background-color: #b02a37;
}

/* Custom button colors */
.btn-purple {
    background-color: #6f42c1;
    border-color: #6f42c1;
}

.btn-purple:hover {
    background-color: #59359a;
    border-color: #53328e;
}

.btn-cyan {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.btn-cyan:hover {
    background-color: #0aa8c7;
    border-color: #0a9cb8;
}

/* SortableJS ghost class */
.sortable-ghost {
    opacity: 0.4;
    background-color: #c8ebfb;
}

.poke-btn {
    font-size: 0.75rem;
    padding: 0.1rem 0.5rem;
}

.flying-emoji {
    position: absolute;
    font-size: 3rem;
    z-index: 9999;
    transition: transform 2s ease-out;
    /* Use transition for JS control */
    will-change: transform;
}

/* Smiley survey styling  */

#smiley-survey-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    /* Above bootstrap navbar/modals usually */
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease-in-out;
}

#smiley-survey-section.d-none {
    display: none !important;
}

#smiley-survey-section p {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 500;
}

#smiley-buttons .smiley-btn {
    font-size: 1.5rem !important;
    /* Smaller size */
    transition: transform 0.2s;
}

#smiley-buttons .smiley-btn:hover {
    transform: scale(1.2);
}

#survey-thank-you p {
    font-size: 1rem !important;
    margin-bottom: 0;
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1060;
    background-color: rgba(0, 0, 0, 0.85);
    /* Semi-transparent black */
    color: white;
    padding: 1rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    /* Nice blur effect */
}

#cookie-consent-banner .btn-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #212529;
    font-weight: 700;
    /* Bolder text */
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

#cookie-consent-banner .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.8);
}

#cookie-consent-banner .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

#cookie-consent-banner a {
    color: #fff;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.2s;
}

#cookie-consent-banner a:hover {
    opacity: 1;
}

#cookie-consent-banner.d-none {
    display: none !important;
}