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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f1419;
    background-image:
        linear-gradient(rgba(15, 20, 25, 0.95), rgba(15, 20, 25, 0.95)),
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(26, 115, 232, 0.03) 35px, rgba(26, 115, 232, 0.03) 70px);
    min-height: 100vh;
    padding: 20px;
    color: #e0e0e0;
}

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

header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.3);
    border: 1px solid rgba(26, 115, 232, 0.2);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

header h1::before {
    content: "🛡️ ";
}

header p {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.ai-model-info {
    margin-top: 15px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: inline-block;
    color: white;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
}

.scanner-card {
    background: #1a1f2e;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.scanner-card h2 {
    margin-bottom: 25px;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid rgba(26, 115, 232, 0.3);
    padding-bottom: 12px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #b0bec5;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(26, 115, 232, 0.3);
    background: #263238;
    color: #ffffff;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #1a73e8;
    background: #2d3a45;
}

.input-group input::placeholder {
    color: #607d8b;
}

.input-group small.help-text {
    display: block;
    margin-top: 6px;
    color: #78909c;
    font-size: 0.8rem;
    font-style: italic;
}

.input-mode-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(26, 115, 232, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.input-mode-selector label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #b0bec5;
    font-size: 0.95rem;
}

.input-mode-selector input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    accent-color: #1a73e8;
}

.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-label {
    display: block;
    padding: 20px;
    background: #263238;
    border: 2px dashed rgba(26, 115, 232, 0.5);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-label:hover {
    background: #2d3a45;
    border-color: #1a73e8;
}

.file-label span {
    color: #1a73e8;
    font-weight: 600;
}

button {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.5);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.examples {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(26, 115, 232, 0.2);
}

.examples p {
    margin-bottom: 12px;
    color: #b0bec5;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.example-btn {
    background: rgba(26, 115, 232, 0.1);
    color: #1a73e8;
    border: 1px solid rgba(26, 115, 232, 0.3);
    padding: 8px 16px;
    font-size: 0.85rem;
    width: auto;
    margin-right: 10px;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: normal;
}

.example-btn:hover {
    background: rgba(26, 115, 232, 0.2);
    transform: none;
}

.progress-section {
    background: #1a1f2e;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.progress-section h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #263238;
    border-radius: 4px;
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a73e8, #4285f4);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(26, 115, 232, 0.5);
}

.progress-message {
    text-align: center;
    color: #4285f4;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.progress-steps {
    margin-top: 25px;
}

.progress-step {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(26, 115, 232, 0.05);
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.progress-step.active {
    background: rgba(26, 115, 232, 0.15);
    border-left-color: #1a73e8;
    color: #4285f4;
    font-weight: 600;
}

.progress-step.complete {
    opacity: 0.6;
    color: #78909c;
}

/* Endpoint Testing Section */
.endpoint-section {
    margin: 30px 0;
    padding: 20px;
    background: rgba(26, 115, 232, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.endpoint-section h4 {
    color: #4285f4;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.endpoint-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.endpoint-item {
    padding: 0;
    background: #263238;
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: all 0.3s;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    overflow: hidden;
}

.endpoint-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.endpoint-item.testing {
    border-left-color: #ffa726;
    background: rgba(255, 167, 38, 0.1);
    animation: pulse 1.5s ease-in-out infinite;
}

.endpoint-item.passed {
    border-left-color: #66bb6a;
    background: rgba(102, 187, 106, 0.08);
}

.endpoint-item.failed {
    border-left-color: #ef5350;
    background: rgba(239, 83, 80, 0.08);
}

.endpoint-item.error {
    border-left-color: #ff9800;
    background: rgba(255, 152, 0, 0.08);
}

.endpoint-name {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.endpoint-method {
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    min-width: 50px;
    text-align: center;
}

.endpoint-method.get { background: #4caf50; color: white; }
.endpoint-method.post { background: #2196f3; color: white; }
.endpoint-method.put { background: #ff9800; color: white; }
.endpoint-method.patch { background: #9c27b0; color: white; }
.endpoint-method.delete { background: #f44336; color: white; }

.endpoint-path {
    color: #b0bec5;
    font-weight: 500;
}

.endpoint-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

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

.endpoint-result {
    color: #90a4ae;
    font-weight: 600;
}

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

/* Endpoint Results Tab Styles */
.endpoint-results-summary {
    margin-bottom: 30px;
}

.endpoint-results-summary h3 {
    color: #4285f4;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.endpoint-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.endpoint-summary-card {
    background: linear-gradient(135deg, #37474f 0%, #263238 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.endpoint-summary-card.success {
    background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
    border-color: #66bb6a;
}

.endpoint-summary-card.danger {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    border-color: #ef5350;
}

.endpoint-summary-card .summary-label {
    font-size: 0.8rem;
    color: #b0bec5;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.endpoint-summary-card .summary-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.endpoint-results-list h3 {
    color: #4285f4;
    margin: 30px 0 20px 0;
    font-size: 1.3rem;
}

.endpoint-result-item {
    background: #263238;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 4px solid transparent;
    overflow: hidden;
    transition: all 0.3s;
}

.endpoint-result-item.success {
    border-left-color: #66bb6a;
}

.endpoint-result-item.failure {
    border-left-color: #ef5350;
}

.endpoint-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.endpoint-result-header:hover {
    background: rgba(26, 115, 232, 0.1);
}

.endpoint-result-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.endpoint-result-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}

.endpoint-result-stats .status-icon {
    font-size: 1.2rem;
}

.endpoint-result-stats .tests-passed {
    color: #66bb6a;
    font-weight: 600;
}

.endpoint-result-stats .tests-failed {
    color: #ef5350;
    font-weight: 600;
}

.endpoint-result-stats .expand-icon {
    color: #90a4ae;
    font-size: 0.8rem;
    margin-left: 5px;
}

.endpoint-result-failures {
    padding: 0 20px 20px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #78909c;
    font-size: 1.1rem;
}

/* Endpoint Failures Section (Progress) */
.endpoint-failures {
    padding: 0 16px 16px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.failures-header {
    font-weight: 700;
    color: #ef5350;
    margin-bottom: 12px;
    font-size: 0.9rem;
    padding-top: 12px;
}

.failure-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: rgba(239, 83, 80, 0.05);
    border-left: 2px solid #ef5350;
    border-radius: 4px;
    margin-bottom: 8px;
}

.failure-number {
    font-weight: 700;
    color: #ef5350;
    min-width: 30px;
    font-size: 0.85rem;
}

.failure-content {
    flex: 1;
}

.failure-message {
    color: #ffcdd2;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.failure-type {
    color: #ff9800;
    font-size: 0.75rem;
    margin-bottom: 4px;
    font-style: italic;
}

.failure-details {
    color: #90a4ae;
    font-size: 0.75rem;
    margin-top: 6px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    font-family: 'Monaco', 'Courier New', monospace;
    white-space: pre-wrap;
    word-break: break-word;
}

.results-section {
    background: #1a1f2e;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.results-section h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 2px solid rgba(26, 115, 232, 0.3);
    padding-bottom: 15px;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.summary-card {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s;
}

.summary-card:hover {
    transform: translateY(-3px);
}

.summary-card.critical {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}
.summary-card.high {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.4);
}
.summary-card.medium {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    box-shadow: 0 4px 15px rgba(255, 167, 38, 0.4);
}
.summary-card.low {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.4);
}

.summary-card .number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.summary-card .label {
    font-size: 0.85rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.charts-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.chart-container {
    background: #232938;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.chart-container h3 {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-container canvas {
    max-height: 280px;
}

.cache-indicator {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.4);
    animation: fadeIn 0.5s ease-in;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Security Facts Display */
.security-fact {
    background: linear-gradient(135deg, #263238 0%, #1a1f2e 100%);
    border: 2px solid rgba(26, 115, 232, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    opacity: 1;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    min-height: 110px;
}

.security-fact.fade-out {
    opacity: 0;
    transform: translateY(-5px);
}

.security-fact.fade-in {
    animation: factFadeIn 0.5s ease-in-out;
}

@keyframes factFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fact-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(26, 115, 232, 0.5));
}

.fact-content {
    flex: 1;
    color: white;
}

.fact-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4285f4;
}

.fact-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #b0bec5;
}

@media (max-width: 768px) {
    .security-fact {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .fact-icon {
        font-size: 3rem;
    }
}

.tabs {
    display: flex;
    gap: 0;
    margin: 25px 0;
    border-bottom: 2px solid rgba(26, 115, 232, 0.2);
    background: rgba(26, 115, 232, 0.05);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.tab-btn {
    background: transparent;
    color: #78909c;
    padding: 15px 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    width: auto;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: #4285f4;
    background: rgba(26, 115, 232, 0.08);
    transform: none;
    box-shadow: none;
}

.tab-btn.active {
    color: #1a73e8;
    background: rgba(26, 115, 232, 0.12);
    border-bottom-color: #1a73e8;
}

.tab-content {
    display: none;
    padding: 25px 0;
}

.tab-content.active {
    display: block;
}

.issue-card {
    background: #232938;
    border-left: 5px solid #1a73e8;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(26, 115, 232, 0.1);
    border-top: 1px solid rgba(26, 115, 232, 0.1);
    border-bottom: 1px solid rgba(26, 115, 232, 0.1);
    transition: transform 0.2s;
}

.issue-card:hover {
    transform: translateX(5px);
}

.issue-card.critical {
    border-left-color: #d32f2f;
    background: linear-gradient(90deg, rgba(211, 47, 47, 0.08) 0%, #232938 100%);
}
.issue-card.high {
    border-left-color: #f57c00;
    background: linear-gradient(90deg, rgba(245, 124, 0, 0.08) 0%, #232938 100%);
}
.issue-card.medium {
    border-left-color: #ffa726;
    background: linear-gradient(90deg, rgba(255, 167, 38, 0.08) 0%, #232938 100%);
}
.issue-card.low {
    border-left-color: #66bb6a;
    background: linear-gradient(90deg, rgba(102, 187, 106, 0.08) 0%, #232938 100%);
}

.issue-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
    gap: 15px;
}

.issue-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    flex: 1;
}

.issue-severity {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.issue-severity.critical {
    background: #d32f2f;
    color: white;
}
.issue-severity.high {
    background: #f57c00;
    color: white;
}
.issue-severity.medium {
    background: #ffa726;
    color: #263238;
}
.issue-severity.low {
    background: #66bb6a;
    color: white;
}

.issue-endpoint {
    font-family: 'Courier New', monospace;
    background: rgba(26, 115, 232, 0.12);
    color: #4285f4;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin: 12px 0;
    display: inline-block;
    border: 1px solid rgba(26, 115, 232, 0.3);
    font-weight: 600;
}

.issue-description, .issue-impact, .issue-recommendation {
    margin: 15px 0;
    line-height: 1.7;
    color: #b0bec5;
}

.issue-description p, .issue-impact p, .issue-recommendation p {
    color: #b0bec5;
}

.issue-section-title {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.recommendation-card {
    background: #232938;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(26, 115, 232, 0.2);
    transition: transform 0.2s;
}

.recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.recommendation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.recommendation-header h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.recommendation-category {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(26, 115, 232, 0.2);
    color: #4285f4;
    border: 1px solid rgba(26, 115, 232, 0.3);
}

.recommendation-card p {
    color: #b0bec5;
    line-height: 1.7;
}

pre {
    background: #0d1117;
    color: #c9d1d9;
    padding: 25px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.6;
    border: 1px solid rgba(26, 115, 232, 0.2);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.copy-btn, .download-btn {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    padding: 12px 24px;
    margin-top: 15px;
    width: auto;
    margin-right: 12px;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.copy-btn:hover, .download-btn:hover {
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.5);
}

.assessment {
    margin-top: 35px;
    padding: 25px;
    background: #232938;
    border-radius: 12px;
    border: 1px solid rgba(26, 115, 232, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.assessment h3 {
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(26, 115, 232, 0.3);
    padding-bottom: 12px;
}

.assessment p {
    color: #b0bec5;
    line-height: 1.8;
    font-size: 1rem;
}

.error-section {
    background: rgba(211, 47, 47, 0.15);
    border-left: 5px solid #d32f2f;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid rgba(211, 47, 47, 0.3);
}

.error-section h3 {
    color: #ff5252;
    margin-bottom: 12px;
    font-weight: 700;
}

.error-section div {
    color: #ffcdd2;
    line-height: 1.6;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    .summary-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .charts-section {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-direction: column;
    }

    .issue-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
