.reportar-notif-btn {
    position: fixed;
    top: 12px;
    right: 14px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 999px;
    z-index: 1080;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.reportar-notif-btn:hover {
    background: #f8fafc;
}

.reportar-notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 9px;
    background: #dc2626;
    color: #fff;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0 4px;
}

.reportar-notif-panel {
    position: fixed;
    top: 62px;
    right: 14px;
    width: min(370px, calc(100vw - 22px));
    max-height: 440px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.2);
    z-index: 1081;
    display: none;
    overflow: hidden;
}

.reportar-notif-panel.open {
    display: block;
}

.reportar-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

.reportar-notif-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.reportar-notif-actions .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.reportar-notif-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 8px;
}

.reportar-notif-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
    cursor: pointer;
    background: #fff;
}

.reportar-notif-item:hover {
    background: #f8fafc;
}

.reportar-notif-item-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.reportar-notif-item-detail {
    color: #475569;
    font-size: 0.86rem;
}

.reportar-notif-item-time {
    color: #64748b;
    font-size: 0.76rem;
    margin-top: 4px;
}

.reportar-fab {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 1080;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.28);
    padding: 12px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reportar-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.34);
}

.reportar-fab i {
    font-size: 0.95rem;
}

.reportar-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
}

.modal-backdrop.show {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

body.has-modal-blur .main-content,
body.has-modal-blur .sidebar {
    filter: blur(4px);
}

.reportar-modal-header {
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
    color: #fff;
    border-bottom: none;
}

.reportar-modal-subtitle {
    font-size: 0.88rem;
    opacity: 0.85;
    margin-top: 4px;
}

.reportar-context-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    color: #334155;
    font-size: 0.88rem;
    display: grid;
    gap: 4px;
}

.reportar-context-box span {
    word-break: break-all;
}

.success-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.success-popup-overlay.visible {
    display: flex;
    animation: successOverlayIn 0.2s ease;
}

@keyframes successOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.success-popup-card {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 460px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28);
    animation: successCardIn 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successCardIn {
    from { transform: translateY(10px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.success-popup-icon {
    font-size: 2.4rem;
    color: #16a34a;
    margin-bottom: 8px;
}

.success-popup-title {
    margin: 0;
    color: #111827;
    font-size: 1.12rem;
    font-weight: 800;
}

.success-popup-body {
    margin: 8px 0 16px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.45;
}

.success-popup-btn {
    border: none;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    padding: 9px 20px;
    font-weight: 700;
}

.success-popup-btn:hover {
    background: #1f2937;
}

.reportar-success-secondary {
    background: #1d4ed8;
}

.reportar-success-secondary:hover {
    background: #1e40af;
}

@media (max-width: 768px) {
    .reportar-notif-btn {
        top: 8px;
        right: 10px;
        width: 44px;
        height: 44px;
    }

    .reportar-notif-panel {
        top: 56px;
        right: 10px;
        width: min(360px, calc(100vw - 20px));
    }

    .reportar-fab {
        right: 10px;
        bottom: 12px;
        width: 48px;
        height: 48px;
        border-radius: 999px;
        padding: 0;
        justify-content: center;
    }

    .reportar-fab span {
        display: none;
    }
}
