/* --- 🛡️ BUG REPORT FEATURE - COMMAND CENTER EDITION --- */

.bug-modal {
    max-width: 500px !important;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.98) 100%) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(220, 38, 38, 0.4) !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(220, 38, 38, 0.1) !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.bug-modal .modal-header {
    background: rgba(220, 38, 38, 0.05);
    padding: 20px 25px;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.bug-modal .modal-header h3 {
    font-size: 14px;
    letter-spacing: 2px;
    color: #ef4444;
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
    margin: 0;
}

.bug-modal .modal-body {
    padding: 25px !important;
}

.glass-textarea {
    width: 100%;
    height: 120px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #f8fafc;
    padding: 15px;
    font-size: 13px;
    line-height: 1.6;
    resize: none;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-textarea:focus {
    outline: none;
    border-color: rgba(220, 38, 38, 0.5);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 0 20px rgba(220, 38, 38, 0.05);
}

/* Upload Section */
.bug-upload-section {
    margin-bottom: 25px;
}

.bug-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bug-upload-label:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(220, 38, 38, 0.3);
    color: #ef4444;
}

.bug-upload-label i {
    font-size: 16px;
}

#bug-preview-container {
    margin-top: 15px;
}

.bug-preview-wrapper {
    position: relative;
    width: 100%;
    max-height: 200px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.bug-preview-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.bug-remove-img {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: rgba(220, 38, 38, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

.bug-remove-img:hover {
    background: #ef4444;
    transform: scale(1.1);
}

.bug-send-btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(90deg, #b91c1c, #dc2626) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 13px !important;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bug-send-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.5) !important;
    filter: brightness(1.1);
}

.bug-send-btn:active {
    transform: translateY(-1px);
}

/* Trigger Button */
.bug-report-trigger {
    width: 100%;
    padding: 14px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 10px;
    color: #fca5a5;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bug-report-trigger:hover {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.6);
    color: #ffffff;
    box-shadow: 0 0 25px rgba(220, 38, 38, 0.25);
    transform: translateY(-2px);
}

/* Success State */
.success-icon-animated {
    font-size: 50px;
    color: #10b981;
    margin-bottom: 20px;
    animation: bugSuccessPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.4));
}

@keyframes bugSuccessPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-msg {
    color: #f8fafc;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.5px;
}