/* ==========================================================================
   BOTÓN FLOTANTE CANAL DE DENUNCIAS - Portal Oficial EAAV E.S.P.
   ========================================================================== */

.aqua-ai-container {
    position: fixed;
    bottom: 20px;
    left: 0;
    z-index: 99999;
    font-family: 'Roboto', sans-serif;
}

.aqua-launcher {
    width: auto;
    height: 44px;
    padding: 0 16px 0 12px;
    border-radius: 0 22px 22px 0;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    border: none;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.aqua-launcher:hover {
    transform: translateX(10px);
}

.aqua-launcher-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aqua-launcher-content .mdi-bullhorn {
    font-size: 22px;
    color: #ffffff;
    line-height: 1;
}

.aqua-launcher-text {
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
}

.aqua-dismiss {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background-color: #ff3b30;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: scale(0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.aqua-launcher:hover .aqua-dismiss {
    opacity: 1;
    transform: scale(1);
}

.aqua-dismiss:hover {
    background-color: #d70015;
    transform: scale(1.1);
}

.aqua-pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 32px 32px 0;
    border: 3px solid #ef4444;
    animation: aqua-pulse-anim 2s infinite ease-out;
    pointer-events: none;
}

@keyframes aqua-pulse-anim {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.aqua-ai-card {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom left;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.aqua-ai-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.aqua-header {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: #ffffff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    position: relative;
}

.aqua-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    position: relative;
}

.aqua-avatar .mdi-bullhorn {
    font-size: 24px;
    color: #ffffff;
}

.aqua-pulse-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #fbbf24;
    border-radius: 50%;
    border: 2px solid #b91c1c;
}

.aqua-title-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.aqua-title-info span {
    font-size: 12px;
    color: #fee2e2;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.aqua-title-info span .mdi-circle {
    font-size: 8px;
    color: #fbbf24;
}

.aqua-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    cursor: pointer;
    margin-left: auto;
    transition: color 0.2s;
}

.aqua-close:hover {
    color: #ffffff;
}

.aqua-body {
    padding: 18px;
    background: #f8fafc;
}

.aqua-msg {
    background: #ffffff;
    padding: 14px 16px;
    border-radius: 16px;
    border-top-left-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-size: 13.5px;
    color: #334155;
    line-height: 1.5;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.aqua-msg p {
    margin: 0 0 8px 0;
}

.aqua-msg p:last-child {
    margin-bottom: 0;
}

.aqua-msg strong {
    color: #b91c1c;
}

.aqua-footer {
    padding: 14px 18px 18px 18px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.aqua-btn-denuncias {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.aqua-btn-denuncias:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}
