body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

.gradient-bg {
    background: linear-gradient(135deg, #042940 0%, #06132f 100%);
}
.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.progress-bar {
    height: 24px;
    border-radius: 12px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    transition: width 0.5s ease;
}
.tooltip {
    position: relative;
    display: inline-block;
}
.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}
.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

#powerStationCarousel {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

#powerStationCarousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

#carouselPrev, #carouselNext {
    transition: transform 0.2s, background-color 0.2s, opacity 0.2s;
    z-index: 10;
}

#carouselPrev:hover, #carouselNext:hover {
    transform: scale(1.1);
    background-color: white !important;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
    padding: 8px 0;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background-color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: #9FC131;
    width: 24px;
}

.carousel-dot:hover {
    background-color: #cbd5e0;
}
@media (max-width: 768px) {
    /* Hide carousel arrows on mobile, as swipe is the primary interaction */
    #carouselPrev, #carouselNext {
       opacity: 0;
       pointer-events: none;
    }
}

.selected-equipment {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
    --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
    --tw-ring-opacity: 1;
    border-color: rgb(59 130 246 / var(--tw-border-opacity));
    --tw-border-opacity: 1;
}

/* New Quiz Styles */
.option-btn {
    transition: all 0.2s ease-in-out;
}

.option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.equipment-card {
    transition: all 0.2s ease-in-out;
}

.equipment-card.ring-4 {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
