/**
 * Demo Mode Styles - Clean, modern design exactly matching the reference screenshots
 */

/* Demo banner - top black bar with DEMO MODE text */
.demo-mode-banner {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 40px;
    background-color: #000;
    color: #ccc;
    z-index: 1040;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 14px;
    font-weight: normal;
}

.demo-mode-banner i.fa-flask {
    color: #aaa;
    margin-right: 8px;
    font-size: 16px;
}

.demo-mode-banner .demo-text {
    margin: 0;
    color: #ccc;
    display: flex;
    align-items: center;
}

.demo-mode-banner a {
    color: #4169e1;
    text-decoration: none;
    margin-left: auto;
    margin-right: 8px;
}

.demo-mode-banner a:hover {
    text-decoration: underline;
}

.demo-mode-banner .close-button {
    font-size: 14px;
    background: none;
    border: 1px solid #555;
    color: white;
    cursor: pointer;
    padding: 0 6px;
    line-height: 1.4;
    border-radius: 2px;
}

/* Adjust content for demo mode */
.demo-mode .container {
    margin-top: 40px;
}

/* Blue header for dashboard */
.dashboard-header {
    background-color: #3b82f6;
    color: white;
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.dashboard-header h2 {
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.dashboard-header h2 i {
    margin-right: 10px;
}

/* Welcome message with light blue background */
.welcome-message {
    background-color: #e8f4fd;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
}

.welcome-message h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.welcome-message p {
    margin-bottom: 10px;
}

/* Data cards */
.data-card {
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.data-card-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 16px;
    font-weight: bold;
    font-size: 1.1rem;
}

.data-card-body {
    padding: 16px;
}

/* Progress bar */
.progress {
    height: 10px;
    background-color: #e5e7eb;
    border-radius: 5px;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background-color: #3b82f6;
    border-radius: 5px;
}

/* Status items */
.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.status-item:last-child {
    margin-bottom: 0;
}

.status-complete {
    color: #059669;
}

.status-in-progress {
    color: #3b82f6;
}

.status-pending {
    color: #6b7280;
}

/* Data sources */
.data-source {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.data-source:last-child {
    border-bottom: none;
}

.data-source-details {
    display: flex;
    align-items: center;
}

.data-source-icon {
    margin-right: 10px;
    font-size: 18px;
}

.data-source-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
}

.status-badge-connected {
    background-color: #ecfdf5;
    color: #059669;
}

.status-badge-pending {
    background-color: #f3f4f6;
    color: #6b7280;
}

/* Top navigation style - matching reference */
.demo-logo {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    color: #111;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
}

.demo-logo i {
    margin-right: 8px;
    color: #3b82f6;
}

.demo-nav {
    display: flex;
    margin-bottom: 20px;
}

.demo-nav a {
    color: #4b5563;
    text-decoration: none;
    padding: 8px 12px;
    margin-right: 2px;
    border-radius: 4px;
    transition: all 0.2s;
}

.demo-nav a:hover {
    background-color: #f9fafb;
}

.demo-nav a.active {
    color: #3b82f6;
    background-color: #eff6ff;
}

.demo-nav a i {
    margin-right: 6px;
}

/* Main content inner spacing */
.demo-content {
    padding: 0 10px;
}

/* Override spacing for demo mode */
body.demo-mode {
    padding-top: 40px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .demo-nav {
        flex-wrap: wrap;
    }
    
    .demo-nav a {
        flex: 1 0 auto;
        text-align: center;
        margin-bottom: 5px;
    }
}