/* Bug Reports CSS */

/* Bug Report Modal Styles */
.bug-details {
    padding: 1rem;
}

.bug-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color-light);
}

.bug-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.bug-meta {
    display: flex;
    gap: 0.5rem;
}

.bug-info {
    background: var(--surface-100);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.bug-info p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.bug-info strong {
    color: var(--text-primary);
}

.bug-description,
.bug-technical,
.bug-resolution {
    margin-bottom: 1.5rem;
}

.bug-description h4,
.bug-technical h4,
.bug-resolution h4 {
    margin: 0 0 0.75rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.bug-description p,
.bug-technical p,
.bug-resolution p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.bug-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color-light);
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: capitalize;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.badge-secondary {
    background: rgba(107, 114, 128, 0.1);
    color: #4b5563;
}

/* Button Icon Styles */
.btn-icon {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    color: var(--text-secondary);
}

.btn-icon:hover {
    background: var(--surface-100);
    color: var(--primary-600);
}

/* Success Button */
.btn-success {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* Filter Controls */
.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all 0.2s;
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}