.catalogue-container {
    display: flex;
    gap: 4rem;
    padding-bottom: 4rem;
}

.search-sidebar {
    width: 33.333%;
    background: #FFF;
    padding: 4rem;
    border: 1rem solid #232323;
    border-radius: 4rem 0 4rem 0;
    position: sticky;
    top: 12rem;
    height: fit-content;
    order: 2;
}

.search-sidebar h3 {
    font-size: 32px;
    font-weight: 600;
    margin-top: 0;
    text-align: center;
    margin-bottom: 2rem;
    color: #232323;
}

.search-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper input {
    /* box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2); */
    width: 100%;
    padding: 0.75rem;
    padding-right: 2rem;
    border: 2px solid #bbb;
    font-size: 1rem;
    color: #232323;
}

.input-wrapper input:focus {
    outline-color: #232323;
    border: 2px solid #232323 !important;
}

.input-wrapper input::placeholder {
    color: #232323;
    opacity: 0.7;
    font-style: italic;
}

.search-input-name {
    border-radius: 0rem 0rem 1rem 0rem !important;
    border: 2px solid #4F80FF !important;
}

.search-input-public {
    border-radius: 0rem 1rem 0rem 0rem !important;
    border: 2px solid #9D69A3 !important;
}

.search-input-objectif {
    border-radius: 0rem 0rem 0rem 1rem !important;
    border: 2px solid #FF8C61 !important;
}

.reset-input {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #232323;
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0.25rem;
    cursor: pointer;
}

.reset-input:hover {
    color: #DD2323;
}

.form-group {
    width: 80%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    font-size: 1rem;
    font-family: 'Unbounded', sans-serif;
}

.search-btn {
    background: #4F80FF;
    color: #FFF;
    padding: 15px 30px;
    border: none;
    border-radius: 0rem 2rem 0rem 2rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    align-self: center;
    font-family: 'Unbounded', sans-serif;
    text-transform: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 1rem;
}

.search-btn:hover {
    background: #232323;
    text-decoration: none;
}

.formations-catalogue {
    width: 66.666%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 0;
    order: 1;
}

.formation-fiche {
    width: 100%;
    background: #FFF;
    border-radius: 0rem 8rem 0rem 8rem;
    display: flex;
    flex-direction: column;
    border: 1rem solid #232323;
    color: #232323;
}

.formation-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 4rem;
    background: #232323;
    color: #FFF;
    border-radius: 0 6rem 0 0;
    height: 100%;
    width: 100%;
}

.formation-title {
    color: #FFF !important;
}

.formation-content {
    font-family: 'Open Sans', sans-serif;
    padding: 2rem 4rem 4rem 4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.formation-image {
    width: 200px;
    flex-shrink: 0;
}

.formation-image img {
    width: 100%;
    height: auto;
    border-radius: 0rem 4rem 0rem 4rem;
}

.formation-taxonomies {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.location-icon {
    flex-shrink: 0;
    /* filter: drop-shadow(0 0 1px rgba(233, 78, 27, 0.3)); */
}

.formation-taxo {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    gap: 1rem;
}

.formation-taxo strong {
    font-family: 'Unbounded', sans-serif;
    color: #232323;
}

.formation-fiche h2 {
    color: #232323;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.formation-content .btn {
    font-family: 'Unbounded', sans-serif;
    text-transform: none;
    align-self: center;
    margin-top: 3rem;
}

.btn {
    display: inline-block;
    margin-top: 2rem;
    background: #4F80FF;
    color: #FFF;
    padding: 15px 30px;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 0rem 2rem 0rem 2rem;
}

.btn:hover {
    background: #232323;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .catalogue-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .search-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 1rem;
        order: 1;
    }

    .formations-catalogue {
        width: 100%;
        order: 2;
    }

    .formation-fiche {
        flex-direction: column;
    }

    .formation-image {
        width: 100%;
        margin-bottom: 1rem;
    }

    .formation-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .form-group {
        width: 100%;
    }
}