/* Bug Report Button */
.bug-report-btn {
    position: fixed;
    bottom: 50px;
    right: 10px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bug-report-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.bug-report-btn img {
    width: 32px;
    height: 32px;
}

/* Bug Report Modal */
.bug-report-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.bug-report-modal-content {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 700px;
    margin: 50px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bug-report-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.bug-report-modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.bug-report-close {
    font-size: 24px;
    color: #777;
    cursor: pointer;
    transition: color 0.3s ease;
}

.bug-report-close:hover {
    color: #333;
}

.bug-report-modal-body {
    padding: 20px;
}

.bug-report-form-group {
    margin-bottom: 15px;
}

.bug-report-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 18px;
}

.bug-report-form-group textarea {
    width: 100%;
    min-height: 200px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    box-sizing: border-box;
    font-size: 18px;
}

.bug-report-form-group textarea::placeholder {
    font-size: 18px;
}

.bug-report-form-group input[type="file"] {
    width: 100%;
}

.bug-report-error {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.bug-report-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
}

.bug-report-submit {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.bug-report-submit:hover {
    background-color: #45a049;
}

.bug-report-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Toast Notification */
.bug-report-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background-color: #4CAF50;
    color: white;
    padding: 10px 18px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 13px;
    animation: slideInRight 0.3s ease;
}

.bug-report-toast.error {
    background-color: #d32f2f;
}

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

/* Mobile Responsive */
@media (max-width: 480px) {
    .bug-report-btn {
        bottom: 70px;
        right: 10px;
    }

    .bug-report-modal-content {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 80vh;
        overflow-y: auto;
        animation: slideUp 0.3s ease;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
}
