body {
    font-family: sans-serif;
}

.cursor-pointer {
    cursor: pointer;
}

.card-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

.card {
    max-width: 700px;
    border:1px solid black;
    text-align: center;
}

.card header::first-letter {
    text-transform: capitalize;
}

.card p {
    text-align: justify;
    margin-top:1rem;
}

.card img {
    max-width:250px;
    border-radius: 5px;
    margin-top:5%;
    margin-bottom:5%;
}

.navigation {
    text-align: center;
}

#toggle-container {
    text-align: center;
}

.btn-like {
    background-color:rgb(0, 204, 136);
    border: none;
}

.btn-dislike {
    background-color:rgb(238, 64, 46);
    border: none;
}

.btn-maybe {
    background-color:rgb(104, 120, 153);
    border:none;
}

.unselected {
    background-color: #000 !important;
    font-size: 0.8rem;
}

.sortable-ghost {
    opacity: 0.4;
    background-color: #f0f0f0;
}

.no-photo {
    width:250px;
    height: 250px;
    background-color: rgba(255, 255, 255, 0.1);
    vertical-align: middle;
    text-align: center;
    border-radius: 5px;
    margin: 5vh auto;
    font-size: 0.8rem;
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center;     /* Centre verticalement */
}

/* Styles pour l'animation d'aide */
.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 100;
    align-items: center;
    justify-content: center;
}

#tutorial-overlay {
    width: 0 !important;
    height: 0 !important;
    backdrop-filter: none !important;
    background-color: rgba(0, 0, 0, 0.33);
}

#tutorial-overlay article {
    box-shadow: 0 0 20px black;
}

.tutorial-content {
    background: var(--pico-background-color);
    border-radius: 8px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    z-index: 105;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid var(--pico-border-color);
}

.tutorial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--pico-border-color);
    padding-bottom: 1rem;
}

.tutorial-header h4 {
    margin: 0;
    color: var(--pico-color);
}

.tutorial-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--pico-color);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tutorial-close:hover {
    color: var(--pico-primary);
}

.tutorial-body {
    margin-bottom: 2rem;
}

.tutorial-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tutorial-progress {
    text-align: center;
    font-size: 0.9rem;
    color: var(--pico-muted-color);
    margin-top: 1rem;
}

.tutorial-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.tutorial-footer button {
    flex: 1;
    margin: 0;
}

/* Highlight overlay pour mettre en évidence les éléments */
.highlight-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    display: none;
}

.highlight-box {
    position: absolute;
    border: 3px solid orange;
    box-shadow:0 0 5px orange;
    border-radius: 8px;
    animation: pulse 2s 3;
    z-index: 93;
}

@keyframes pulse {
    0% {
        opacity:1;
    }
    50% {
        opacity:0.5;
    }
    100% {
        opacity:1;
    }
}

.tutorial-active {
    position: relative;
    z-index: 10001;
}