/* Bug Report Styles */

.bug-report-bubble {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #B81D13 0%, #93160F 100%);
    color: white;
    padding: 12px 8px;
    border-radius: 15px 0 0 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(184, 29, 19, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 11px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.bug-report-bubble:hover {
    transform: translateY(-50%) translateX(-5px);
    box-shadow: 0 6px 16px rgba(184, 29, 19, 0.5);
}

.bug-bubble-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* Speech bubble arrow */
.bug-report-bubble::before {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #93160F;
}

/* Bug Modal Specific Styles */
.bug-modal {
    z-index: 9999;
}

.bug-modal .modal-content {
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.bug-modal textarea {
    font-size: 14px;
    line-height: 1.5;
}

.bug-modal textarea:focus {
    outline: none;
    border-color: #00BFBF;
    box-shadow: 0 0 0 3px rgba(0, 191, 191, 0.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .bug-report-bubble {
        right: 5px;
        padding: 10px 6px;
        font-size: 10px;
        border-radius: 12px 0 0 12px;
    }

    .bug-bubble-text {
        gap: 3px;
    }

    .bug-report-bubble::before {
        right: -5px;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 5px solid #93160F;
    }
}

/* Ensure bug bubble is above everything except modals */
.bug-report-bubble {
    z-index: 9998;
}

/* Animation for attention */
@keyframes pulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.05);
    }
}

.bug-report-bubble:hover {
    animation: pulse 2s infinite;
}

.bug-modal .modal-body {
    color: var(--text-primary, #E0E1DD);
}

.bug-modal .form-group textarea {
    background: rgba(13, 27, 42, 0.8);
    color: #E0E1DD;
}
