.es-messaging-title {
    text-transform: uppercase;
    background-color: #54bdfe;
    font-weight: 700 !important;
    color: white !important;
    text-align: center;
    padding: 10px 0;
}

.es-messaging-title h1{
    font-weight: 600 !important;
    color: white !important;
}


.inbox {
    display: flex;
    height: 100vh;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;

}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    max-height: 575px;
    text-align: center;
    transition: all 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.sidebar {
    width: 250px;
    background-color: #f1f1f1;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar-extends {
    background-color: #f1f1f1;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.tab {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

.tab.active {
    background-color: #d3d3d3;
    font-weight: bold;
}

.content {
    flex: 1;
    padding: 20px;
    overflow-y: scroll;
}

.message-list {
    display: none;
}

.message-list.active {
    display: block;
}

.message {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    background-color: white;
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    border-radius: 5px;

}

.message:hover {
    background-color: #f5f5f5;
}

.message-list.active .message.unread {
    background-color: #e1f2fe;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sender {
    font-weight: bold;
    margin-right: 10px;
}

.title {
    font-weight: bold;
    margin-right: 10px;
}

.contenue {
    margin-top: none;
    margin-bottom: none;

}

.close-icon {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
    color: #888;
}

.close-icon:hover {
    color: #555;
}


.date {
    color: crimson;
    ;
    font-size: 14px;
}

.content {
    margin: 0;
}

.new-message-button {
    background-color: #54bdfe;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
}

.new-message-button:hover {
    background-color: #3384c6;
}

.choices__group {
    font-size: 32px;
    margin-right: 73%;
}

.choices__item {
    padding-right: 50%;

}

.choices__heading {
    color: black;
    font-size: 14px;
    padding: 12px;
}


.email-details {
    background-color: white;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.email-details h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.email-details p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.file-link {
    display: inline-block;
    margin-right: 10px;
    color: #1a0dab;
    text-decoration: none;
}

.file-link i {
    font-style: italic;
}

.file-link img {
    vertical-align: middle;
    margin-right: 5px;
}

.new-message-button {
    background-color: #54bdfe;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
}

.new-message-button:hover {
    background-color: #3384c6;
}
