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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    padding: 20px;
    color: #2c3e50;
}

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

header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.1);
    border: 1px solid #e0e6ed;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

header h1::before {
    content: "";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 12px;
}

header p {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 400;
}

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

.scanner-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border: 1px solid #e0e6ed;
}

.scanner-card h2 {
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    border-bottom: 2px solid #e0e6ed;
    padding-bottom: 12px;
}

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

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

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d0d7de;
    background: #ffffff;
    color: #2c3e50;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.input-group input::placeholder {
    color: #a0aec0;
}

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

.input-mode-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e0e6ed;
}

.input-mode-selector label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #5a6c7d;
    font-size: 0.9rem;
}

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

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

.file-input {
    display: none;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #f8fafc;
    border: 2px dashed #d0d7de;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    color: #5a6c7d;
    font-weight: 500;
}

.file-label:hover {
    border-color: #3498db;
    background: #f0f7ff;
}

button[type="submit"], .copy-btn, .download-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

button[type="submit"]:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
}

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

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

.examples {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e6ed;
}

.examples p {
    color: #5a6c7d;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 0.9rem;
}

.example-btn {
    padding: 10px 18px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: #f8fafc;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
}

.example-btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.progress-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border: 1px solid #e0e6ed;
}

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

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e6ed;
    border-radius: 4px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-message {
    text-align: center;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

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

.progress-step {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    color: #2c3e50;
}

.progress-step.active {
    background: #e3f2fd;
    border-left-color: #3498db;
    color: #2980b9;
    font-weight: 600;
}

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

/* Endpoint Testing Section */
.endpoint-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e0e6ed;
}

.endpoint-section h4 {
    color: #2c3e50;
    font-size: 1.05rem;
    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: white;
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    overflow: hidden;
    border: 1px solid #e0e6ed;
}

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

.endpoint-item.testing {
    border-left-color: #f39c12;
    background: #fff9f0;
    animation: pulse 1.5s ease-in-out infinite;
}

.endpoint-item.passed {
    border-left-color: #27ae60;
    background: #f0fdf4;
}

.endpoint-item.failed {
    border-left-color: #e74c3c;
    background: #fef2f2;
}

.endpoint-item.error {
    border-left-color: #e67e22;
    background: #fff5e6;
}

.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.7rem;
    min-width: 50px;
    text-align: center;
}

.endpoint-method.get { background: #27ae60; color: white; }
.endpoint-method.post { background: #3498db; color: white; }
.endpoint-method.put { background: #f39c12; color: white; }
.endpoint-method.patch { background: #9b59b6; color: white; }
.endpoint-method.delete { background: #e74c3c; color: white; }

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

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

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

.endpoint-result {
    color: #5a6c7d;
    font-weight: 600;
}

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

/* Issues/Findings Section Styles */
.issue-card {
    background: white;
    border-left: 5px solid #3498db;
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-right: 1px solid #e0e6ed;
    border-top: 1px solid #e0e6ed;
    border-bottom: 1px solid #e0e6ed;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.issue-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: inherit;
    transition: width 0.3s ease;
}

.issue-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.issue-card:hover::before {
    width: 8px;
}

.issue-card.critical {
    border-left-color: #e73827;
    background: linear-gradient(90deg, rgba(231, 56, 39, 0.04) 0%, white 100%);
}

.issue-card.high {
    border-left-color: #ee5a6f;
    background: linear-gradient(90deg, rgba(238, 90, 111, 0.04) 0%, white 100%);
}

.issue-card.medium {
    border-left-color: #ffa502;
    background: linear-gradient(90deg, rgba(255, 165, 2, 0.04) 0%, white 100%);
}

.issue-card.low {
    border-left-color: #20bf6b;
    background: linear-gradient(90deg, rgba(32, 191, 107, 0.04) 0%, white 100%);
}

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

.issue-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    flex: 1;
    line-height: 1.4;
}

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

.issue-severity:hover {
    transform: scale(1.05);
}

.issue-severity.critical {
    background: linear-gradient(135deg, #e73827 0%, #c92a1a 100%);
    color: white;
}

.issue-severity.high {
    background: linear-gradient(135deg, #ee5a6f 0%, #d13753 100%);
    color: white;
}

.issue-severity.medium {
    background: linear-gradient(135deg, #ffa502 0%, #e89102 100%);
    color: white;
}

.issue-severity.low {
    background: linear-gradient(135deg, #20bf6b 0%, #1a9956 100%);
    color: white;
}

.issue-endpoint {
    font-family: 'Courier New', Monaco, monospace;
    background: #f0f4f8;
    color: #3498db;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin: 14px 0;
    display: inline-block;
    border: 1px solid #d0e1f9;
    font-weight: 600;
    transition: all 0.2s;
}

.issue-endpoint:hover {
    background: #e3edf7;
    border-color: #b8d4f1;
}

.issue-description, .issue-impact, .issue-recommendation {
    margin: 18px 0;
    line-height: 1.8;
    color: #5a6c7d;
}

.issue-description p, .issue-impact p, .issue-recommendation p {
    color: #5a6c7d;
    font-size: 0.95rem;
}

.issue-section-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.issue-description {
    background: #f8fafc;
    padding: 16px;
    border-radius: 6px;
    border-left: 3px solid #3498db;
}

.issue-impact {
    background: #fff5f5;
    padding: 16px;
    border-radius: 6px;
    border-left: 3px solid #ee5a6f;
}

.issue-recommendation {
    background: #f0fdf4;
    padding: 16px;
    border-radius: 6px;
    border-left: 3px solid #20bf6b;
}

/* Recommendations/Remediation Plan Section Styles */
.recommendation-card {
    background: white;
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
    transition: width 0.3s ease;
}

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

.recommendation-card:hover::before {
    width: 6px;
}

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

.recommendation-header h4 {
    color: #2c3e50;
    font-size: 1.15rem;
    font-weight: 700;
    flex: 1;
    line-height: 1.4;
}

.recommendation-category {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    background: linear-gradient(135deg, #e8f4f8 0%, #d6eaf1 100%);
    color: #2980b9;
    border: 1px solid #b8d4f1;
    white-space: nowrap;
    transition: all 0.2s;
}

.recommendation-category:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #d6eaf1 0%, #c4e0ed 100%);
}

.recommendation-card p {
    color: #5a6c7d;
    line-height: 1.8;
    font-size: 0.95rem;
    background: #f8fafc;
    padding: 16px;
    border-radius: 6px;
    border-left: 3px solid #3498db;
}

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

.endpoint-results-summary h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.endpoint-summary-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e6ed;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.endpoint-summary-card.success {
    background: #f0fdf4;
    border-color: #86efac;
}

.endpoint-summary-card.danger {
    background: #fef2f2;
    border-color: #fca5a5;
}

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

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

.endpoint-results-list h3 {
    color: #2c3e50;
    margin: 30px 0 20px 0;
    font-size: 1.2rem;
}

.endpoint-result-item {
    background: white;
    border-radius: 6px;
    margin-bottom: 12px;
    border-left: 4px solid transparent;
    overflow: hidden;
    transition: all 0.2s;
    border: 1px solid #e0e6ed;
}

.endpoint-result-item.success {
    border-left-color: #27ae60;
}

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

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

.endpoint-result-header:hover {
    background: #f8fafc;
}

.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.1rem;
}

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

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

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

.endpoint-result-failures {
    padding: 0 20px 20px 20px;
    background: #f8fafc;
    border-top: 1px solid #e0e6ed;
}

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

/* Endpoint Failures Section (Progress) */
.endpoint-failures {
    padding: 0 16px 16px 16px;
    background: #f8fafc;
    border-top: 1px solid #e0e6ed;
}

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

.failure-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: #fef2f2;
    border-left: 2px solid #e74c3c;
    border-radius: 4px;
    margin-bottom: 8px;
}

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

.failure-content {
    flex: 1;
}

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

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

.failure-details {
    color: #5a6c7d;
    font-size: 0.75rem;
    margin-top: 6px;
    padding: 8px;
    background: white;
    border-radius: 3px;
    font-family: 'Monaco', 'Courier New', monospace;
    white-space: pre-wrap;
    word-break: break-word;
    border: 1px solid #e0e6ed;
}

.results-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
}

.results-section h2 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: 700;
    border-bottom: 2px solid #e0e6ed;
    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, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
    text-align: center;
    border: 1px solid #2980b9;
}

.summary-card.critical {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.summary-card.high {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.summary-card.medium {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.summary-card.low {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.summary-card.info {
    background: linear-gradient(135deg, #5a6c7d 0%, #425563 100%);
}

.summary-card h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    font-weight: 600;
    opacity: 0.9;
}

.summary-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

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

.chart-container {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e6ed;
}

.chart-container h3 {
    color: #2c3e50;
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Results Section Header */
.results-section > h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.results-section > h2::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
}

.tabs {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #e0e6ed;
    margin-bottom: 25px;
    margin-top: 30px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #718096;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: #3498db;
}

.tab-btn.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

.tab-content {
    display: none;
}

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

.issue-item {
    background: white;
    border: 1px solid #e0e6ed;
    border-left: 4px solid #e74c3c;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.issue-item.critical { border-left-color: #e74c3c; }
.issue-item.high { border-left-color: #e67e22; }
.issue-item.medium { border-left-color: #f39c12; }
.issue-item.low { border-left-color: #27ae60; }
.issue-item.info { border-left-color: #5a6c7d; }

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

.issue-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.severity-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.severity-badge.critical { background: #fee; color: #e74c3c; }
.severity-badge.high { background: #fff3e0; color: #e67e22; }
.severity-badge.medium { background: #fff9e6; color: #f39c12; }
.severity-badge.low { background: #f0fdf4; color: #27ae60; }
.severity-badge.info { background: #f8fafc; color: #5a6c7d; }

.issue-description {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.issue-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid #e0e6ed;
    font-size: 0.85rem;
}

.meta-item {
    color: #718096;
}

.meta-item strong {
    color: #2c3e50;
    font-weight: 600;
}

pre {
    background: #f8fafc;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    padding: 20px;
    overflow-x: auto;
    color: #2c3e50;
    font-size: 0.85rem;
    line-height: 1.5;
}

.copy-btn, .download-btn {
    margin-top: 15px;
    width: auto;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.download-btn {
    margin-left: 10px;
}

.assessment {
    margin-top: 30px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e0e6ed;
}

.assessment h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.assessment p {
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 12px;
}

.error-section {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.error-section h3 {
    color: #e74c3c;
    margin-bottom: 15px;
}

#errorMessage {
    color: #c53030;
    line-height: 1.6;
}

.cache-indicator {
    background: #fff9e6;
    border: 1px solid #f39c12;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: #b8860b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-fact {
    margin: 20px 0;
    padding: 20px;
    background: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.security-fact-title {
    font-weight: 600;
    color: #2980b9;
    margin-bottom: 8px;
    font-size: 1rem;
}

.security-fact-content {
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 0.9rem;
}
