.pointer{
    cursor: pointer
}

#photo_user, #photo_cover, #photo_mission, #file_input_cv, #file_input_portfolio {
    display: none;
}

.scrollTopButton {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    padding: 15px;
    cursor: pointer;
}

.scrollTopButton:hover {
    background-color: #777;
}

.input-with-icon {
    position: relative;
    display: inline-block;
    width: 100%;
}

.input-with-icon i {
    position: absolute;
    top: 50%;
    right: 5px; /* Ajustez la distance de l'icône du bord droit */
    transform: translateY(-50%);
    color: green; /* Couleur de l'icône */
    cursor: pointer;
}

.long-text{
    word-wrap: break-word;
}

.suggest-competence{
    margin-top: 2%;
    border: 1px solid black;
    border-radius: 8px;
    background-color: #777;
    display:none
}

.suggest-competence > li{
    text-decoration: none;
}

.page-item.active .page-link{
    border-color: #a81734 !important;
}

.delete_cover, .delete_photo{
    position: absolute;
    right: 0;
    cursor:pointer
}

.delete-phone{
    cursor: pointer;
    margin-right:0.5%;
}

.notification_zone{
    position: relative;
}

.badge-notification {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #a81734;
    padding: 5px;
    border-radius: 50%;
}


.hide {
    display: none;
}

.active {
    display: block;
}

.suggestions {
    border: 1px solid #ddd;
    position: absolute;
    background-color: white !important;
    z-index: 1000;
    width: 100%;
    margin-top: 1%;
    border-radius: 10px;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f1f1f1;
}

html {
    scroll-padding-top: 60px; /* Ajuste cette valeur selon la hauteur de ton menu */
}

/* .notification-animate{
    display: none
} */

.unread-icon{
    background-color: #a81734;
    color: white; font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center
}

.active-element {
    background-color: #f0f6fe !important;
    transition: background-color 0.1s ease, transform 0.1s ease;
    transform: scale(1.01); /* Légère mise en avant */
    border: 0.5px solid #ddd;
}

.blur-text {
    filter: blur(5px);
}

body, html {
    margin: 0;
    height: 100%;
}

.map-container {
    flex-direction: row;
    display: flex;
    height: 100vh;
}

.section-item {
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

#left-section {
    width: 16%;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#middle-section {
    width: 24%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#right-section {
    flex: 1;
}

.form-group {
    margin-bottom: 10px;
}

.form-container {
    display: flex;
    flex-direction: column;
}

#left-section, #middle-section, #right-section {
    overflow-y: auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.highlight {
    border: 1px solid #a81734; /* Contour de couleur rouge foncé */
    background-color: #fff4f4; /* Couleur de fond légèrement rouge */
    padding: 10px; /* Espacement interne */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Légère ombre */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transition douce */
}

.swal2-custom-popup {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(34, 34, 59, 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 25px 30px;
    max-width: 400px;
    border: 1px solid #ccd0d5;
}

.swal2-custom-title {
    font-weight: 600;
    font-size: 1.5rem;
    color: #22223b;
    letter-spacing: 0.03em;
    margin-bottom: 15px;
    text-align: center;
}

.label-formed{
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 30px !important;
}

#file-count {
    font-size: 0.7em;
    display: none;
}

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#toggle-middle-section{
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
    animation: bounce 2s infinite;
}

.mission-avatar {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    cursor: pointer;
}
