:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #6b7280;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-color: #ffffff;
    --surface-color: #f8fafc;
    --border-color: #e2e8f0;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

[data-theme="dark"] {
    --bg-color: #111827;
    --surface-color: #1f2937;
    --border-color: #374151;
    --text-color: #f9fafb;
    --text-muted: #9ca3af;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

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

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.logo span {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
}

.tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 2.5rem;
}

.header-controls {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--secondary-color);
}

.btn-secondary:hover {
    background: #4b5563;
}

.btn-icon {
    padding: 0.5rem;
    font-size: 1.2rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0.75rem;
}

.pro-panel {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    display: none;
    overflow: hidden;
}

.pro-panel.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pro-header {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pro-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.pro-content {
    padding: 1.5rem;
}

.upgrade-banner {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.upgrade-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upgrade-text {
    flex: 1;
}

.upgrade-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.upgrade-text p {
    opacity: 0.9;
    margin: 0;
    font-size: 0.9rem;
}

.upgrade-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
}

.upgrade-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.pro-section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-color);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.section-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.feature-badge {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.preset-controls, .link-controls, .team-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.preset-controls input, .team-controls input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--surface-color);
    color: var(--text-color);
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.preset-controls input:focus, .team-controls input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.link-result {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.link-result input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--surface-color);
    color: var(--text-color);
    font-size: 0.9rem;
    font-family: monospace;
}

.presets-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.preset-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preset-item:hover {
    background: var(--primary-color);
    color: white;
}

.main-content {
    display: grid;
    gap: 3.5rem;
}

.input-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.file-input {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.file-input h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.input-options {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.file-upload {
    display: none;
}

.file-name {
    color: var(--text-muted);
    font-size: 0.9rem;
}

textarea {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    resize: vertical;
    transition: border-color 0.2s ease;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

.controls-section {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 2rem;
    align-items: start;
}

.control-group h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.control-header {
    margin-bottom: 1rem;
}

.control-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.control-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.checkbox-label:hover {
    background: rgba(59, 130, 246, 0.05);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 0.25rem;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-weight: 500;
    color: var(--text-color);
}

#redaction-patterns {
    min-height: 100px;
    margin-top: 0.5rem;
}

#redaction-patterns:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.results-section {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: none;
}

.results-section.active {
    display: block;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.results-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.results-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 500;
}

.stat-added {
    background: rgb(16 185 129 / 0.1);
    color: var(--success-color);
}

.stat-removed {
    background: rgb(239 68 68 / 0.1);
    color: var(--danger-color);
}

.stat-changed {
    background: rgb(245 158 11 / 0.1);
    color: var(--warning-color);
}

.stat-secrets {
    background: rgb(239 68 68 / 0.1);
    color: var(--danger-color);
}

.stat-suggestions {
    background: rgb(59 130 246 / 0.1);
    color: var(--primary-color);
}

.stat-critical {
    background: rgb(239 68 68 / 0.15);
    color: var(--danger-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.diff-item {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.diff-header {
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.diff-added {
    background: rgb(16 185 129 / 0.1);
    border-left: 4px solid var(--success-color);
}

.diff-added .diff-header {
    color: var(--success-color);
}

.diff-removed {
    background: rgb(239 68 68 / 0.1);
    border-left: 4px solid var(--danger-color);
}

.diff-removed .diff-header {
    color: var(--danger-color);
}

.diff-changed {
    background: rgb(245 158 11 / 0.1);
    border-left: 4px solid var(--warning-color);
}

.diff-changed .diff-header {
    color: var(--warning-color);
}

.diff-content {
    padding: 0 1rem 1rem;
}

.diff-values {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.4;
}

.diff-old {
    color: var(--danger-color);
    text-decoration: line-through;
    opacity: 0.7;
}

.diff-new {
    color: var(--success-color);
    font-weight: 500;
}

.secret-warning {
    background: rgb(239 68 68 / 0.1);
    color: var(--danger-color);
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.redacted {
    background: var(--text-color);
    color: var(--text-color);
    border-radius: 0.25rem;
    padding: 0 0.5rem;
    position: relative;
}

.redacted::after {
    content: "REDACTED";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 0.25rem;
}

/* Additional styling for better UX */
.btn svg {
    transition: transform 0.2s ease;
}

.btn:hover svg {
    transform: scale(1.05);
}

.file-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.file-input:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.results-section {
    transition: all 0.3s ease;
}

.diff-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Loading state */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Improved tooltips */
[title] {
    position: relative;
}

@media (max-width: 1024px) {
    .input-section {
        grid-template-columns: 1fr;
    }
    
    .controls-section {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .logo-section {
        align-items: center;
    }
    
    .tagline {
        margin-left: 0;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0.5rem;
    }
    
    .logo span {
        font-size: 1.5rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .file-input {
        padding: 1rem;
    }
    
    .input-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .preset-controls, .link-controls, .team-controls {
        gap: 0.5rem;
    }
    
    .results-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .results-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pro-header {
        padding: 0.75rem 1rem;
    }
    
    .pro-content {
        padding: 1rem;
    }
    
    .upgrade-banner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .content-block {
        padding: 1.5rem;
    }
    
    .footer-content {
        text-align: left;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.diff-item {
    animation: fadeIn 0.3s ease-out;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: var(--success-color);
    color: white;
}

.notification-warning {
    background: var(--warning-color);
    color: white;
}

.notification-error {
    background: var(--danger-color);
    color: white;
}

.notification-info {
    background: var(--primary-color);
    color: white;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-color);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    font-weight: 500;
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 1.2rem;
}

/* SEO Content Section */
.seo-content {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.content-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.content-block {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.content-block h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.content-block h3 {
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.content-block h4 {
    margin: 1rem 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.content-block p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.content-block ul, .content-block ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.content-block li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: var(--text-color);
}

.content-block li strong {
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Suggestions Section */
.suggestions-section {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
}

.suggestions-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.suggestion-item {
    background: var(--bg-color);
    border-radius: 0.75rem;
    padding: 1rem;
    border-left: 4px solid;
    transition: all 0.2s ease;
}

.suggestion-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.suggestion-high {
    border-left-color: var(--danger-color);
    background: rgba(239, 68, 68, 0.02);
}

.suggestion-medium {
    border-left-color: var(--warning-color);
    background: rgba(245, 158, 11, 0.02);
}

.suggestion-low {
    border-left-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.02);
}

.suggestion-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.suggestion-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
}

.suggestion-content {
    flex: 1;
}

.suggestion-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.suggestion-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.suggestion-severity {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.severity-high {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.severity-medium {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.severity-low {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
}

.suggestion-details {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.suggestion-key {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.suggestion-key code {
    background: var(--surface-color);
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.suggestion-fix {
    font-size: 0.9rem;
    line-height: 1.4;
}

.suggestion-fix strong {
    color: var(--text-color);
}