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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #1a1a2e;
    color: #eee;
    min-height: 100vh;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background-color: #16213e;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.logo {
    padding: 0 20px 20px;
    border-bottom: 1px solid #0f3460;
}

.logo h2 {
    color: #e94560;
    font-size: 1.5rem;
}

.nav-menu {
    list-style: none;
    padding: 20px 0;
    flex: 1;
}

.nav-item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s;
}

.nav-item:hover {
    background-color: #0f3460;
}

.nav-item.active {
    background-color: #0f3460;
    border-left: 3px solid #e94560;
}

.nav-item .icon {
    font-size: 1.2rem;
}

.connection-status {
    padding: 15px 20px;
    border-top: 1px solid #0f3460;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.connected {
    background-color: #4ade80;
}

.status-dot.disconnected {
    background-color: #f87171;
}

.main-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.view {
    display: none;
}

.view.active {
    display: block;
}

.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.view-header h1 {
    font-size: 1.8rem;
}

.controls {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #e94560;
    color: white;
}

.btn-primary:hover {
    background-color: #d63850;
}

.btn-primary:disabled {
    background-color: #666;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #0f3460;
    color: white;
}

.btn-secondary:hover {
    background-color: #1a4a7a;
}

.btn-danger {
    background-color: #dc2626;
    color: white;
}

.btn-danger:hover {
    background-color: #b91c1c;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    height: calc(100vh - 140px);
}

.viewer-container {
    background-color: #16213e;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

#threejs-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.point-counter {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 5px;
    font-family: monospace;
}

.info-panel {
    background-color: #16213e;
    border-radius: 10px;
    padding: 20px;
    overflow-y: auto;
}

.info-panel h3 {
    margin-bottom: 15px;
    color: #e94560;
    font-size: 1rem;
}

.coordinate-feed {
    max-height: 300px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 0.85rem;
    background-color: #0f3460;
    padding: 10px;
    border-radius: 5px;
}

.coordinate-feed .coord-item {
    padding: 4px 0;
    border-bottom: 1px solid #1a4a7a;
}

.placeholder {
    color: #666;
    font-style: italic;
}

.upload-area {
    max-width: 800px;
}

.upload-box {
    border: 2px dashed #0f3460;
    border-radius: 10px;
    padding: 60px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.upload-box:hover, .upload-box.dragover {
    border-color: #e94560;
    background-color: rgba(233, 69, 96, 0.1);
}

.upload-box .upload-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.upload-box .hint {
    color: #888;
    font-size: 0.9rem;
    margin-top: 10px;
}

.upload-box input[type="file"] {
    display: none;
}

.upload-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #0f3460;
    border-radius: 5px;
    background-color: #1a1a2e;
    color: #eee;
    font-size: 0.95rem;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.file-queue {
    margin-bottom: 20px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #0f3460;
    border-radius: 5px;
    margin-bottom: 8px;
}

.file-item .remove-file {
    cursor: pointer;
    color: #e94560;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-box input,
.search-box select {
    padding: 10px 15px;
    border: 1px solid #0f3460;
    border-radius: 5px;
    background-color: #1a1a2e;
    color: #eee;
}

.search-box input {
    width: 250px;
}

.scan-list {
    display: grid;
    gap: 15px;
}

.scan-card {
    background-color: #16213e;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.scan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scan-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.scan-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.scan-card .source-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.source-badge.uart {
    background-color: #22c55e;
    color: #000;
}

.source-badge.upload {
    background-color: #3b82f6;
    color: #fff;
}

.source-badge.manual {
    background-color: #a855f7;
    color: #fff;
}

.scan-card-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 0.9rem;
}

.scan-card-prediction {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #0f3460;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination button {
    padding: 8px 15px;
    background-color: #0f3460;
    border: none;
    border-radius: 5px;
    color: #eee;
    cursor: pointer;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.settings-form {
    max-width: 500px;
}

.status-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
}

.status-message.success {
    background-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.status-message.error {
    background-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #16213e;
    border-radius: 10px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    z-index: 10;
}

.close-btn:hover {
    color: #e94560;
}

#modalHeader {
    padding: 20px;
    border-bottom: 1px solid #0f3460;
}

.modal-body {
    padding: 20px;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.modal-viewer {
    background-color: #0f3460;
    border-radius: 10px;
    height: 400px;
}

.modal-info h4 {
    margin: 15px 0 10px;
    color: #e94560;
}

.export-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.modal-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #0f3460;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #888;
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .upload-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 60px;
    }
    
    .logo h2, .nav-item span:not(.icon), #wsStatusText {
        display: none;
    }
    
    .nav-item {
        justify-content: center;
    }
}

.predict-area {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
}

.predict-input-section,
.predict-result-section {
    background-color: #16213e;
    border-radius: 10px;
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.input-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background-color: #0f3460;
    border: none;
    border-radius: 5px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn.active {
    background-color: #e94560;
    color: white;
}

.input-panel {
    display: none;
}

.input-panel.active {
    display: block;
}

.input-panel textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    background-color: #0f3460;
    border: 1px solid #1a4a7a;
    border-radius: 5px;
    color: #eee;
    font-family: monospace;
    font-size: 0.9rem;
    resize: vertical;
}

.coords-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #0f3460;
    border-radius: 5px;
}

.coords-actions span {
    color: #888;
    font-size: 0.85rem;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.scan-card .view-3d-btn {
    margin-top: 10px;
    width: 100%;
}

.file-preview {
    margin-top: 15px;
    padding: 15px;
    background-color: #0f3460;
    border-radius: 5px;
}

.file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.file-info span:first-child {
    color: #e94560;
    font-weight: bold;
}

.file-info span:last-child {
    color: #888;
}

.predict-3d-viewer {
    margin-top: 20px;
    background-color: #0a1628;
    border: 1px solid #1a4a7a;
    border-radius: 8px;
    overflow: hidden;
}

.predict-3d-viewer h3 {
    padding: 12px 15px;
    margin: 0;
    background-color: #0f3460;
    border-bottom: 1px solid #1a4a7a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.predict-3d-viewer h3 span {
    font-size: 0.8rem;
    color: #888;
    font-weight: normal;
}

#predict3DCanvas {
    width: 100%;
    height: 300px;
    background-color: #050a15;
}

.predict-3d-viewer .viewer-controls {
    padding: 10px 15px;
    background-color: #0f3460;
    border-top: 1px solid #1a4a7a;
    text-align: right;
}

.image-preview {
    margin-top: 15px;
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 5px;
    object-fit: contain;
}

#imagePreviewContainer {
    text-align: center;
    margin-top: 10px;
}

#imagePreviewContainer img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    border-radius: 5px;
}

.btn-large {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 20px;
}

.result-box {
    background-color: #0f3460;
    border-radius: 5px;
    padding: 15px;
    min-height: 150px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.result-type {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.result-type.prediction {
    background-color: #22c55e;
    color: #000;
}

.result-type.error {
    background-color: #dc2626;
    color: #fff;
}

.confidence {
    color: #4ade80;
    font-weight: 500;
}

.prediction-result h3 {
    margin-bottom: 15px;
    color: #e94560;
}

.extra-info {
    border-top: 1px solid #1a4a7a;
    padding-top: 15px;
}

.info-row {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #1a4a7a;
}

.info-row strong {
    min-width: 120px;
    color: #888;
    text-transform: capitalize;
}

.artifacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.artifact-card {
    background-color: #16213e;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.2s;
}

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

.artifact-card h3 {
    color: #e94560;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.artifact-details p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.artifact-details strong {
    color: #888;
}

.hidden {
    display: none !important;
}

.image-viewer {
    padding: 10px;
    text-align: center;
}

.scan-image {
    max-width: 100%;
    max-height: 350px;
    border-radius: 5px;
}

.threejs-viewer {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.scan-badges {
    display: flex;
    gap: 8px;
}

.type-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.type-badge.image {
    background-color: #8b5cf6;
    color: #fff;
}

.type-badge.coordinates {
    background-color: #06b6d4;
    color: #fff;
}

.type-badge.mixed {
    background-color: #f59e0b;
    color: #000;
}

.error {
    color: #f87171;
}

@media (max-width: 900px) {
    .predict-area {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .top-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .header-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .header-buttons .btn {
        flex: 1;
        text-align: center;
    }
    
    .predict-area {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .predict-input-section,
    .predict-result-section {
        padding: 15px;
    }
    
    .input-tabs {
        flex-direction: column;
        gap: 8px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .upload-box {
        padding: 20px 15px;
    }
    
    .modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 5vh auto;
        padding: 15px;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-viewer {
        height: 250px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
    
    .export-buttons {
        flex-direction: column;
    }
    
    .export-buttons .btn {
        width: 100%;
    }
    
    .scan-list {
        gap: 10px;
    }
    
    .scan-card {
        padding: 12px;
    }
    
    .scan-card-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .scan-card-actions .btn {
        width: 100%;
    }
    
    .edit-form .form-group {
        margin-bottom: 10px;
    }
    
    .edit-form .form-input {
        padding: 12px;
        font-size: 16px;
    }
    
    .info-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .extra-info {
        max-height: none;
    }
    
    .prediction-result h3 {
        font-size: 1.2rem;
    }
    
    .mesh-viewer-container {
        grid-template-columns: 1fr;
    }
    
    .mesh-canvas {
        height: 300px;
        min-height: 250px;
    }
}

.credits-section {
    padding: 15px 20px;
    border-top: 1px solid #0f3460;
    margin-top: auto;
    font-size: 0.8rem;
}

.credits-section h4 {
    color: #e94560;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.credit-item {
    margin-bottom: 10px;
    line-height: 1.4;
}

.credit-item strong {
    display: block;
    color: #94a3b8;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.credit-item span {
    color: #e2e8f0;
    font-weight: 500;
}

.credit-item small {
    display: block;
    color: #64748b;
    font-size: 0.7rem;
    font-style: italic;
}

.app-container.single-page {
    flex-direction: column;
    min-height: 100vh;
}

.top-header {
    background-color: #16213e;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #0f3460;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: #e94560;
    font-size: 1.8rem;
    margin: 0;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.single-page-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
}

.single-page-content .predict-area {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.single-page-content .predict-input-section h2 {
    color: #e94560;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.large-modal .modal-content {
    max-width: 900px;
    width: 90%;
}

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

.modal-header h2 {
    margin: 0;
}

.credits-body {
    padding: 20px 0;
}

.credit-item.large {
    margin-bottom: 25px;
    padding: 15px;
    background: #0f3460;
    border-radius: 8px;
}

.credit-item.large strong {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.credit-item.large span {
    font-size: 1.2rem;
    display: block;
    margin: 5px 0;
}

.credit-item.large small {
    font-size: 0.85rem;
}

/* Mesh Viewer Section */
.mesh-viewer-section {
    margin-top: 20px;
    background: #16213e;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #0f3460;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.mesh-viewer-header h2 {
    color: #e94560;
    margin: 0;
    font-size: 1.4rem;
}

.mesh-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.mesh-stats span {
    background: #0f3460;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #4ade80;
}

.mesh-viewer-container {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 15px;
    max-width: 100%;
}

.mesh-canvas {
    background: #050a15;
    border-radius: 8px;
    height: 350px;
    min-height: 280px;
    max-width: 100%;
    overflow: hidden;
}

.mesh-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.view-options {
    background: #0f3460;
    padding: 15px;
    border-radius: 8px;
}

.view-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    font-size: 0.95rem;
}

.view-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #e94560;
}

.mesh-info {
    background: #0f3460;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.mesh-info div {
    padding: 5px 0;
    color: #aaa;
}

@media (max-width: 900px) {
    .mesh-viewer-container {
        grid-template-columns: 1fr;
    }
    
    .mesh-canvas {
        height: 280px;
        min-height: 220px;
    }
}

.edit-form {
    background: #0f3460;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.edit-form.hidden {
    display: none;
}

.edit-form .form-group {
    margin-bottom: 12px;
}

.edit-form label {
    display: block;
    margin-bottom: 5px;
    color: #aaa;
    font-size: 0.9rem;
}

.edit-form .form-input {
    width: 100%;
    padding: 10px;
    background: #16213e;
    border: 1px solid #1a1a2e;
    border-radius: 4px;
    color: #eee;
    font-size: 0.95rem;
}

.edit-form .form-input:focus {
    outline: none;
    border-color: #e94560;
}

.edit-form textarea.form-input {
    resize: vertical;
    min-height: 60px;
}

.btn-success {
    background: #4ade80;
    color: #1a1a2e;
}

.btn-success:hover {
    background: #22c55e;
}

.modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* About & Methodology Modal */
.about-body {
    max-height: 70vh;
    overflow-y: auto;
}

.about-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1a4a7a;
}

.about-section:last-child {
    border-bottom: none;
}

.about-section h3 {
    color: #e94560;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.about-section p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 10px;
}

.about-section ul, .about-section ol {
    color: #ccc;
    padding-left: 25px;
    line-height: 1.8;
}

.about-section li {
    margin-bottom: 8px;
}

.about-section li strong {
    color: #4ade80;
}

.warning-note {
    background: rgba(233, 69, 96, 0.1);
    border-left: 3px solid #e94560;
    padding: 12px 15px;
    margin-top: 15px;
    border-radius: 0 5px 5px 0;
}

/* Enhanced Credits */
.credit-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1a4a7a;
}

.credit-section:last-child {
    border-bottom: none;
}

.credit-section h3 {
    color: #e94560;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Prediction Result Sections - Compact Layout */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 800px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.info-section {
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    border-left: 3px solid #1a4a7a;
}

.info-section.full-width {
    grid-column: 1 / -1;
}

.info-section h4 {
    color: #e94560;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(233, 69, 96, 0.3);
}

.info-row {
    padding: 3px 0;
    font-size: 0.85rem;
}

.info-row strong {
    font-size: 0.8rem;
}

.info-section.highlight-section {
    background: rgba(74, 222, 128, 0.08);
    border-left: 3px solid #4ade80;
}

.info-section.highlight-section h4 {
    color: #4ade80;
}

.info-section.accuracy-section {
    background: rgba(255, 193, 7, 0.08);
    border-left: 3px solid #ffc107;
}

.info-section.accuracy-section h4 {
    color: #ffc107;
}

.info-row.disclaimer {
    font-size: 0.85rem;
    color: #888;
    border-bottom: none;
    padding-top: 10px;
}

.info-row.disclaimer em {
    font-style: italic;
}

/* Professional appearance enhancements */
.prediction-result {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    border: 1px solid #1a4a7a;
    border-radius: 10px;
    padding: 25px;
}

.prediction-result h3 {
    font-size: 1.4rem;
    border-bottom: 2px solid #e94560;
    padding-bottom: 10px;
}

.result-header .confidence {
    background: rgba(74, 222, 128, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Credibility indicators */
.info-row strong {
    min-width: 140px;
    color: #999;
    font-weight: 500;
}

.extra-info {
    margin-top: 20px;
}
