#cse-sticky-menu {
    position: fixed;
    top: 40%;
    right: 0;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
}

#cse-sticky-menu>.cse-contact {
    border-radius: 0 0 0 0;
}

.cse-menu-item.cse-icon {
    height: 53px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cse-sticky-menu>.cse-icon:last-of-type {
    border-radius: 0 0 0 5px;
}

#cse-sticky-menu>.cse-contact.cse-contact-open,
#cse-sticky-menu>.cse-contact:hover,
#cse-sticky-menu>.cse-icon:last-of-type:hover {
    border-radius: 0 0 0 0;
}

.cse-menu-item {
    position: relative;
    background: #111;
    color: #fff;
    cursor: pointer;
    padding: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 53px;
}

.cse-menu-label {
    pointer-events: none;
    /* le label ne bloque pas le hover */
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.vertical-label {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    text-orientation: mixed;
}

.blue-label,
.blue-label>.cse-menu-panel {
    background-color: #002856;
}

.orange-label,
.orange-label>.cse-menu-panel {
    background-color: #ff7514;

}

.green-label,
.green-label>.cse-menu-panel {
    background-color: #25D366;
}

.red-label,
.red-label>.cse-menu-panel {
    background-color: #B22222;
}

.black-label,
.black-label>.cse-menu-panel {
    background-color: black;
}

.cse-contact>.cse-menu-panel {
    background-color: white !important;
}

.vertical-label>i {
    transform: rotate(90deg);
}

.cse-menu-panel {
    position: absolute;
    right: 100%;
    top: 0;
    background: #222;
    padding: 15px;
    border-radius: 5px 0 0 5px;
    display: none;
    min-width: 220px;
}

/* Croix */
.cse-close {
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #aaa;
    transition: all 0.2s ease;
}

.cse-close:hover {
    color: #002856;
    transform: scale(1.2);
}

.cse-contact .cse-menu-panel {
    border-radius: 5px 0 5px 5px;
    padding: 2rem 1rem 1rem 1rem;
}

.cse-menu-item.cse-icon:hover .cse-menu-panel {
    height: 53px;
    justify-content: center;
    align-items: center;
}

/* Formulaire simple */
#cse-contact-form input,
#cse-contact-form textarea {
    width: 100%;
    margin-bottom: 1rem;
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #002856;
}

#cse-contact-form input::placeholder,
#cse-contact-form textarea::placeholder {
    color: #002856;
}

#cse-contact-form button {
    background: #002856;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
}

#cse-contact-form {
    display: flex;
    flex-direction: column;
    min-width: 300px;
    min-height: 350px;
}

#cse-contact-form textarea {
    flex: 1;
}

.cse-form-message {
    font-size: 14px;
}

.cse-form-message.error {
    margin-bottom: 16px;
    color: #d93025;
}

.cse-form-message.success {
    margin-bottom: 10px;
    color: #002856;
}

.cse-success-box {
    font-size: 16px;
    color: #002856;
    text-align: center;
    padding-bottom: 1rem;
}

body.cse-loading,
body.cse-loading * {
    cursor: progress !important;
}

#cse-contact-form button:disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* Bouton fermeture */
#cse-hide-menu {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: black;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px 0 0 0;
}

/* Bouton ouverture */
#cse-show-menu {
    position: fixed;
    top: 40%;
    right: 0;
    background: #002856;
    color: white;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    border-radius: 5px 0 0 5px;
    font-size: 18px;
}
