/*========= MODAL DE ÉXITO ============*/
.custom-modal-content {
    border-radius: 20px !important;
    padding: 20px !important;
    background-color: white !important;
}

.checkmark-circle-container {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    border: 3px solid #d4edda !important; 
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 20px !important;
}
.checkmark-icon {
    font-size: 4rem !important;
    color: #28a745 !important; 
    font-weight: bold !important;
    background-color: #d4edda !important; 
    border-radius: 50% !important;
    padding: 5px !important;
    display: block !important;
}
.btn-pink-custom {
    background-image: linear-gradient(to left, #7a60ffba, #cd9ffa) !important;
    color: var(--white) !important;
    border: none !important;
    padding: 10px 50px !important;
    border-radius: 10px !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    box-shadow: 0 4px 10px rgba(65, 3, 65, 0.219) !important
}
.btn-pink-custom:hover {
    background-color: rgba(255, 0, 255, 0.719) !important;
    color: var(--white) !important;
}

/*========= MODAL DE NOTIFICACIONES ============*/
.pe-noti-dropdown-menu {
    max-width: 40vh;
    left: 50rem !important;
    top: 100px !important;
    z-index: 2000 !important;
}
/* --- 1. ACTIVACIÓN DEL CONTEXTO DE POSICIONAMIENTO --- */

/* Hace que el botón de la campana sea el contenedor del punto rojo */
#notification-bell-button {
    position: relative !important;
}

/* Hace que el enlace 'Notificaciones' sea el contenedor del punto rojo */
.notification-link {
    position: relative !important;
    padding-right: 20px !important; /* Añade espacio para que el punto no tape el texto */
}

/* --- 2. ESTILO Y POSICIÓN DEL PUNTO ROJO DEL PANEL --- */

/* Estilo Base del Punto Rojo en el Panel */
.icon-dot-panel {
    position: absolute !important;
    top: 50% !important; /* Centrado vertical */
    right: 5px !important; /* Posicionado a la derecha del enlace */
    transform: translateY(-50%) !important;
    width: 8px !important;
    height: 8px !important;
    background-color: #ff3b30 !important;
    border-radius: 50% !important;
    z-index: 10 !important;
    display: none !important; /* Oculto por defecto */
}

/* Muestra el punto del Panel cuando el enlace tiene la clase 'active-dot' */
.notification-link.active-dot .icon-dot-panel {
    display: block !important;
}

/* --- 3. ESTILO Y POSICIÓN DEL PUNTO ROJO DE LA CAMPANA --- */

/* Estilo Base del Punto Rojo en la Campana (el que ya teníamos) */
.icon-dot {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    width: 8px !important;
    height: 8px !important;
    background-color: #ff3b30 !important;
    border-radius: 50% !important;
    z-index: 10 !important;
    display: none !important;
}

/* Muestra el punto de la Campana cuando su contenedor tiene la clase 'has-notifications' */
.has-notifications #bell-dot {
    display: block !important;
}

/* --- 2. ESTILOS DE CHAT/NOTIFICACIÓN --- */

/* Contenedor general del ítem */
.noti-item {
    display: flex;
    align-items: flex-start; 
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
    position: relative;
}

/* Estilo para chat no leído */
.noti-item.noti-unread {
    background-color: #f7f9fc; 
}

/* Estilo al pasar el ratón */
.noti-item:hover {
    background-color: #f0f4f8;
}

/* Padding y justificación para el contenido del chat */
.noti-item .chat-content {
    padding-right: 15px; /* Espacio antes de los controles (X) */
    text-align: left; /* Justificación a la izquierda */
}

/* Burbuja de Mensaje */
.chat-message-bubble {
    display: inline-block; /* Ajusta el ancho a solo el contenido */
    padding: 8px 12px;
    border-radius: 18px 18px 18px 4px; /* Estilo de burbuja de chat */
    background-color: #e6e9f0; /* Fondo gris claro */
    max-width: 100%;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin-top: 5px;
}

.modal-header-cr{
    background-color: #cc9ffa2d !important;
    color: #8e809e !important;
    font-weight: bold !important;
}
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}


.modal-header-cr{
    background-color: #cc9ffa2d !important;
    color: #8e809e !important;
    font-weight: bold !important;
}
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

/* Si necesitas que el modal tenga un z-index alto */
#crearRegistroModal {
    z-index: 2100 !important;
}

/* Backdrop del modal */
.modal-backdrop {
    z-index: 1050;
}