/* LAQI Support Client Page Styles */
/* Theme: Laqi.co design (Navy #113D5B, Yellow #F0C417, Barlow font) */

:root {
    /* Primary colors */
    --laqi-navy: #113D5B;
    --laqi-navy-dark: #0A2A3F;
    --laqi-navy-light: #1A5273;
    --laqi-yellow: #F0C417;
    --laqi-yellow-dark: #D4A912;
    --laqi-yellow-light: #F5D647;

    /* Status colors */
    --status-success: #27ae60;
    --status-warning: #f39c12;
    --status-error: #e74c3c;
    --status-info: #3498db;
    --status-disabled: #95a5a6;

    /* Neutral colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --border-color: #E0E0E0;

    /* Font */
    --font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(17, 61, 91, 0.1);
    overflow: hidden;
}

/* Header */
.header {
    background: var(--laqi-navy);
    color: white;
    padding: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.header-logo {
    height: 32px;
    width: auto;
}

.header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Problem Description */
.description-panel h2,
.actions h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--laqi-navy);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--laqi-yellow);
    display: inline-block;
}

.problem-textarea {
    width: 100%;
    height: 120px;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-secondary);
    resize: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.problem-textarea:focus {
    outline: none;
    border-color: var(--laqi-yellow);
    box-shadow: 0 0 0 3px rgba(240, 196, 23, 0.15);
    background: var(--bg-primary);
}

.problem-textarea::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* Ticket Confirmation */
.ticket-confirmation {
    padding: 48px 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.ticket-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--laqi-navy);
    color: var(--laqi-yellow);
    font-size: 28px;
    line-height: 56px;
    margin: 0 auto 20px;
}

.ticket-confirmation h2 {
    color: var(--laqi-navy);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.ticket-confirmation p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.ticket-id {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--laqi-navy);
    letter-spacing: 0.08em;
    margin: 20px auto;
    padding: 18px 32px;
    background: var(--bg-secondary);
    border: 2px solid var(--laqi-yellow);
    border-radius: 12px;
    font-family: 'Barlow', monospace;
    display: inline-block;
}

.ticket-hint {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

/* Sections */
section {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
}

section:last-child {
    border-bottom: none;
}

section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--laqi-navy);
    margin-bottom: 20px;
}

/* Status Panel */
.status-panel {
    background: var(--bg-secondary);
}

.status-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 12px 18px;
    border-radius: 8px;
    border-left: 4px solid var(--border-color);
}

.status-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.status-value {
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
}

.status-connected {
    background: rgba(39, 174, 96, 0.1);
    color: var(--status-success);
    border-left-color: var(--status-success);
}

.status-disconnected {
    background: rgba(149, 165, 166, 0.1);
    color: var(--status-disabled);
}

.status-warning {
    background: rgba(243, 156, 18, 0.1);
    color: var(--status-warning);
}

/* Progress Panel */
.progress-bar-container {
    position: relative;
    width: 100%;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--laqi-navy) 0%, var(--laqi-navy-light) 100%);
    transition: width 0.5s ease;
    border-radius: 20px;
}

.progress-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 1;
    /* Color dynamically set by JavaScript based on progress */
    color: var(--laqi-navy);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.current-stage {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--laqi-navy);
    text-align: center;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Steps */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step-icon {
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    color: var(--text-secondary);
}

.step-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.step.pending {
    opacity: 0.6;
}

.step.in-progress {
    background: rgba(240, 196, 23, 0.1);
    border-left: 4px solid var(--laqi-yellow);
}

.step.in-progress .step-icon {
    background: var(--laqi-yellow);
    color: white;
    animation: pulse 1.5s ease-in-out infinite;
}

.step.in-progress .step-label {
    color: var(--laqi-yellow-dark);
    font-weight: 600;
}

.step.completed {
    background: rgba(39, 174, 96, 0.1);
    border-left: 4px solid var(--status-success);
}

.step.completed .step-icon {
    background: var(--status-success);
    color: white;
}

.step.completed .step-icon::before {
    content: '✓';
}

.step.completed .step-label {
    color: var(--status-success);
    font-weight: 600;
}

.step.error {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--status-error);
}

.step.error .step-icon {
    background: var(--status-error);
    color: white;
}

.step.error .step-icon::before {
    content: '✗';
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Device Panel */
.device-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--laqi-navy);
}

/* Action Buttons */
.actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-family);
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--laqi-navy);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--laqi-navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 61, 91, 0.3);
}

.btn-secondary {
    background: var(--laqi-yellow);
    color: var(--laqi-navy);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--laqi-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 196, 23, 0.3);
}

.btn:disabled {
    background: var(--status-disabled);
    color: white;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

/* Console Log */
.console-log {
    max-height: 300px;
    overflow-y: auto;
    background: #1e1e1e;
    color: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

.log-entry {
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.log-timestamp {
    color: #7f8c8d;
}

.log-info {
    color: #f0f0f0;
}

.log-success {
    color: #27ae60;
}

.log-error {
    color: #e74c3c;
}

.log-warning {
    color: #f39c12;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 8px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    section {
        padding: 20px;
    }

    .status-items {
        grid-template-columns: 1fr;
    }

    .device-info {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* BLE Reconnection Banner */
.reconnect-banner {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: white;
    border: 2px solid var(--laqi-navy);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    max-width: 500px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.banner-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.banner-icon {
    font-size: 48px;
    text-align: center;
}

.banner-message {
    text-align: center;
}

.banner-message strong {
    font-size: 1.2rem;
    color: var(--laqi-navy);
    display: block;
    margin-bottom: 10px;
}

.banner-message p {
    margin: 5px 0;
    color: var(--text-primary);
}

.banner-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.banner-actions .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* ============================================================================
   Cancel Confirmation Banner (similar to reconnect-banner)
   ============================================================================ */

.cancel-confirm-banner {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: white;
    border: 2px solid var(--status-error);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    max-width: 500px;
    animation: slideDown 0.3s ease-out;
}

.cancel-confirm-banner .banner-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cancel-confirm-banner .banner-icon {
    font-size: 48px;
    text-align: center;
}

.cancel-confirm-banner .banner-message {
    text-align: center;
}

.cancel-confirm-banner .banner-message strong {
    font-size: 1.2rem;
    color: var(--status-error);
    display: block;
    margin-bottom: 10px;
}

.cancel-confirm-banner .banner-message p {
    margin: 5px 0;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.cancel-confirm-banner .banner-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cancel-confirm-banner .banner-actions .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* Danger button (red) for "Yes, Cancel" action */
.cancel-confirm-banner .btn-danger {
    background: var(--status-error);
    color: white;
    border: none;
    font-weight: 600;
}

.cancel-confirm-banner .btn-danger:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* Secondary button for "Keep Collecting" action */
.cancel-confirm-banner .btn-secondary {
    background: var(--text-secondary);
    color: white;
    border: none;
    font-weight: 600;
}

.cancel-confirm-banner .btn-secondary:hover {
    background: var(--laqi-navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Scrollable Steps Container */
.steps-panel {
    margin-bottom: 20px;
}

.steps-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 15px;
    background: var(--bg-secondary);
}

.steps-container::-webkit-scrollbar {
    width: 8px;
}

.steps-container::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 4px;
}

.steps-container::-webkit-scrollbar-thumb {
    background: var(--laqi-navy);
    border-radius: 4px;
}

.steps-container::-webkit-scrollbar-thumb:hover {
    background: #0d2d44;
}

/* Collapsible Activity Log */
.log-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--laqi-navy);
    color: white;
    border-radius: 6px;
    margin-bottom: 0;
    user-select: none;
    transition: background 0.2s ease;
}

.log-header:hover {
    background: #0d2d44;
}

.log-header strong {
    font-size: 1.1rem;
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.log-header.expanded .toggle-icon {
    transform: rotate(180deg);
}

.log-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 6px 6px;
}

.log-content.expanded {
    max-height: 400px;
    padding: 10px;
    background: var(--bg-secondary);
    overflow-y: auto;
    overflow-x: hidden;
}

.console-log {
    max-height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Log Action Buttons */
.log-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.log-export-btn,
.log-clear-btn {
    flex: 1;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.log-export-btn {
    background: var(--laqi-yellow);
    color: var(--laqi-navy);
}

.log-export-btn:hover {
    background: #d4ab14;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(240, 196, 23, 0.3);
}

.log-export-btn:active {
    transform: translateY(0);
}

.log-clear-btn {
    background: var(--status-error);
    color: white;
}

.log-clear-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.log-clear-btn:active {
    transform: translateY(0);
}

/* Clear Log Confirmation State */
.log-clear-btn.confirming {
    background: var(--laqi-navy);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    align-items: stretch;
}

.log-clear-btn.confirming:hover {
    background: var(--laqi-navy);
    transform: none;
    box-shadow: none;
}

.confirm-actions {
    display: flex;
    gap: 8px;
}

.confirm-yes,
.confirm-no {
    flex: 1;
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confirm-yes {
    background: var(--status-error);
    color: white;
}

.confirm-yes:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.confirm-no {
    background: var(--text-secondary);
    color: white;
}

.confirm-no:hover {
    background: var(--laqi-navy-dark);
    transform: scale(1.05);
}

/* ============================================================================
   Status Message System
   ============================================================================ */

.status-message-container {
    padding: 0 30px;
    border-bottom: none;
    min-height: 0;
}

.status-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 500;
    animation: slideInFromTop 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.status-message-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.status-message-icon {
    font-size: 1.5rem;
    min-width: 24px;
}

.status-message-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

.status-message-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.status-message-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 8px;
    opacity: 0.7;
    transition: opacity 0.2s;
    color: inherit;
}

.status-message-close:hover {
    opacity: 1;
}

/* Success Message */
.status-message.success {
    background: rgba(39, 174, 96, 0.1);
    border-left: 4px solid var(--status-success);
    color: var(--status-success);
}

.status-message.success .status-message-icon::before {
    content: '✓';
}

/* Warning Message */
.status-message.warning {
    background: rgba(243, 156, 18, 0.1);
    border-left: 4px solid var(--status-warning);
    color: var(--status-warning);
}

.status-message.warning .status-message-icon::before {
    content: '⚠';
}

/* Error Message */
.status-message.error {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--status-error);
    color: var(--status-error);
}

.status-message.error .status-message-icon::before {
    content: '✗';
}

/* Info Message */
.status-message.info {
    background: rgba(52, 152, 219, 0.1);
    border-left: 4px solid var(--status-info);
    color: var(--status-info);
}

.status-message.info .status-message-icon::before {
    content: 'ℹ';
}

/* Send Report Button */
.status-message-btn {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.status-message-btn.send-report {
    background: var(--laqi-navy);
    color: white;
}

.status-message-btn.send-report:hover {
    background: var(--laqi-navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(17, 61, 91, 0.3);
}

/* ============================================================================
   BLE Compatibility Panel
   ============================================================================ */

.ble-compatibility-panel {
    padding: 10px 30px;
    border-bottom: 1px solid var(--border-color);
}

.ble-status {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    animation: slideInFromTop 0.3s ease-out;
    position: relative;
    max-height: 120px;
    overflow: visible;
}

.ble-status-icon {
    font-size: 1.5rem;
    font-weight: bold;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.ble-status-content {
    flex: 1;
}

.ble-status-content strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--laqi-navy);
    margin-bottom: 3px;
}

.ble-status-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* BLE Ready */
.ble-ready {
    background: rgba(39, 174, 96, 0.1);
    border-left: 4px solid var(--status-success);
}

.ble-ready .ble-status-icon {
    background: var(--status-success);
    color: white;
}

.ble-ready strong {
    color: var(--status-success);
}

/* BLE Unavailable */
.ble-unavailable {
    background: rgba(243, 156, 18, 0.1);
    border-left: 4px solid var(--status-warning);
}

.ble-unavailable .ble-status-icon {
    background: var(--status-warning);
    color: white;
}

.ble-unavailable strong {
    color: var(--status-warning);
}

.ble-error-reason {
    color: var(--status-error);
    font-weight: 600;
    margin: 10px 0;
}

/* Close button for BLE banner */
.ble-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    line-height: 1;
}

.ble-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--laqi-navy);
}

/* Show more button for instructions */
.ble-show-more {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: var(--laqi-navy);
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s ease;
    font-family: var(--font-family);
    font-weight: 500;
}

.ble-show-more:hover {
    background: var(--bg-tertiary);
    border-color: var(--laqi-navy);
}

/* Instructions container */
.ble-instructions-container {
    margin-top: 8px;
}

.ble-instructions {
    background: white;
    padding: 12px;
    border-radius: 6px;
    margin-top: 8px;
    font-size: 0.85rem;
}

.ble-instructions ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.ble-instructions li {
    margin: 8px 0;
    line-height: 1.5;
}

.ble-instructions code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--laqi-navy);
}

.ble-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 4px 0;
    font-family: 'Courier New', monospace;
}

/* ============================================================================
   Error Report Banner
   ============================================================================ */

.error-report-banner {
    background: linear-gradient(135deg, #fff3cd 0%, #fcf8e3 100%);
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.error-report-banner .banner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 600;
    color: #856404;
}

.error-report-banner .banner-icon {
    font-size: 24px;
    margin-right: 8px;
}

.error-report-banner .banner-title {
    flex: 1;
    font-size: 16px;
}

.error-report-banner .banner-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #856404;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    line-height: 1;
}

.error-report-banner .banner-close:hover {
    color: #533f03;
}

.error-report-banner .banner-content {
    color: #856404;
    font-size: 14px;
    line-height: 1.6;
}

.error-report-banner .banner-content ul {
    margin: 8px 0;
    padding-left: 24px;
}

.error-report-banner .banner-content li {
    margin: 4px 0;
}

.error-report-banner .banner-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ffc107;
    font-size: 12px;
    color: #856404;
    opacity: 0.8;
}
