@import "../animations/fade-6zR0kWu.css";

.show-img {
    background-image: url("../../media/background-log-dn8yfdK.jpg");
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.glass-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    margin: 3rem 145px auto 145px;
}

.trial-card {
    aspect-ratio: 1 / 1;
    min-height: 200px;
    flex: 1 1 auto;
    max-width: 250px;
}

.trial-card a {
    white-space: normal;
}

.text-justify {
    text-align: justify !important;
}

.registration-bubble {
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: default;
    background-color: rgba(31, 115, 1, 0.8);
}

.registration-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.organisation-panel {
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.organisation-panel.show {
    transform: translateX(0);
    opacity: 1;
}

/* Séparateur vertical */
.separator {
    width: 1px;
    background-color: rgba(255,255,255,0.6);
    height: 60px;
}


.show-img > .px-4.h-100 {
    height: 100%;
}

.event-line {
     background: rgba(255, 255, 255, 0.18);
     backdrop-filter: blur(10px);
     transition: all 0.3s ease;
}

.event-line:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.trial-title {
    position: relative;
    padding-bottom: 8px;
}

.trial-title::after {
    content: "";
    display: block;
    width: 60%;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    margin-top: 6px;
}

.meta-separator > * {
    position: relative;
    padding-right: 12px;
}

.meta-separator > *:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 55%;
    transform: translateY(-50%);
    height: 22px;
    width: 1px;
    background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 992px) {
    .show-img > .px-4.h-100 {
        height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
        justify-content: flex-start;
    }

    .glass-card {
        margin: 2rem 1rem 0 1rem;
        padding: 2rem;
    }

    .trial-card {
        min-height: 220px;
        flex: 1 1 100%;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .meta-separator > *:not(:last-child)::after {
        display: none;
    }

    .flex-grow-1 {
        text-align: center !important;
        padding-right: 0 !important;
    }

    .trial-title {
        display: inline-block;
    }

    .trial-title::after {
        margin: 6px auto 0 auto;
        left: 0;
        right: 0;
        width: 60%;
    }

    .meta-separator {
        justify-content: center !important;
    }

    .d-flex.flex-wrap.gap-3 {
        justify-content: center !important;
    }
}
