.bug-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.bug-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bug-modal {
    background: #1e2024;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 420px;
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.bug-modal-overlay.active .bug-modal {
    transform: scale(1);
}

.bug-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bug-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.bug-modal-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bug-modal-close svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 2;
    fill: none;
}

.bug-modal-close:hover {
    background: rgba(255, 255, 255, 0.06);
}

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

.bug-modal-desc {
    margin: 0 0 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.bug-modal-body textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    background: #15171a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}

.bug-modal-body textarea:focus {
    outline: none;
    border-color: #60a5fa;
}

.bug-modal-body textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.bug-char-count {
    text-align: right;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 6px;
}

.bug-modal-footer {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bug-cancel-btn {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease;
}

.bug-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bug-submit-btn {
    flex: 1;
    padding: 10px;
    background: #60a5fa;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.bug-submit-btn:hover {
    background: #3b82f6;
}

.bug-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
