        :root {
            --primary: #2563eb; --secondary: #059669; --error: #dc2626;
            --bg: #f8fafc; --card: #ffffff; --text: #1e293b;
        }
body {     font-family: "Arial", sans-serif;     background: aliceblue;     color: #1e293b;    margin: 0;     padding: 10px;     line-height: 1.5; }
/* Dashboard Header Layout */
.dashboard-header {    display: flex;    background: #1e293b;    padding: 5px 5px;    border-radius: 1px;    box-shadow: 0 4px 15px rgba(0,0,0,0.05);    margin-bottom: 25px;    justify-content: space-between;    justify-items: stretch;    align-content: stretch;    align-items: flex-end;}

/* Brand Styling */
.brand-section { display: inline-flex; align-items: end; gap: 10px; }
.main-logo { width: 80px; height: auto; border-radius: 8px; }
.sim-title { line-height: .75 ; margin: 0; font-size: 1.5rem; font-weight: 800; color: #1e293b; letter-spacing: -1px; }
.blue-text { color: #2563eb; }
.sim-subtitle { margin: 0; font-size: 0.85rem; color: #64748b; font-weight: 800; }

/* User & Stats Card */
.user-stats-card {text-align: center;    border-left: 0px solid #f1f5f9; }
.user-greeting { font-weight: 600; color: #1e293b; margin-bottom: 10px; }
.highlight { color: #2563eb; text-transform: uppercase; }

.stats-grid { display: flex; gap: 20px; }
.stat-item { display: flex; flex-direction: column; }
.stat-label { font-size: 0.65rem; font-weight: 700; color: #94a3b8; }
.stat-value { font-size: 1.1rem; font-weight: 800; color: #0f172a; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .dashboard-header { flex-direction: column; text-align: center; gap: 20px; }
    .user-stats-card { border-left: none; padding-left: 0; border-top: 1px solid #f1f5f9; padding-top: 15px; }
    .stats-grid { justify-content: center; }
}
        .container { max-width: 1500px; margin: auto; background: lightblue ; padding: 10px; border-radius: 1px; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
        .header {     display: flex;    padding: 10px 10px;    border-top: 2px solid #e2e8f0;    border-bottom: 2px solid #e2e8f0;    padding-bottom: 1rem;    margin-bottom: 1rem;    flex-direction: column;    flex-wrap: nowrap;    align-content: center;    align-items: stretch;    justify-content: center;            line-height: 1;}
        .scenario-selector { background: ; padding: 5px 30px; border-radius: 0px; margin-bottom: 0; font-size: 18px; }
        select { display: grid; width: 100%; padding: 10px; border-radius: 6px; border: 1px solid #cbd5e1; font-size: 16px; }
        .work-area { display: grid; border: 1px solid #e2e8f0; border-radius: 8px; padding: 5px 20px; background: #fff; min-height: 400px; }
        .instruction-box { line-height: 1; background: #eff6ff; border-left: 4px solid var(--primary); padding: 5px 5px ; }
        table { width: 100%; border-collapse: collapse; margin-top: 10px; }
        th, td { border: 1px solid #e2e8f0; padding: 5px; text-align: left; }
        th { background: #f8fafc; font-size: 0.85rem; text-transform: uppercase; }
        input[type="number"], input[type="text"], select.task-input { width: 90%; padding: 8px; border: 1px solid #cbd5e1; border-radius: 4px; margin: 5px 0; }
        .controls { margin-top: 1.5rem; display: flex; gap: 10px; flex-wrap: wrap;}
        button { padding: 12px 24px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; transition: 0.3s; }
        .btn-primary { background: var(--primary); color: white; }
        .btn-success { background: var(--secondary); color: white; }
        .floating-container { position: fixed; top: 80vh; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 100; }
        .float-btn { width: 40px; height: 40px; border-radius: 30%; color: white; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.2); }
        .btn-coa { background: #6366f1; }
        .btn-doc { background: #f59e0b; }
        .modal { display: none; position: fixed; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.7); justify-content: center; align-items: center; z-index: 200; }
        .modal-content { background: white; padding: 2rem; border-radius: 12px; max-width: 800px; width: 90%; max-height: 100vh; overflow-y: auto; }
/* The Main Two-Column Layout */
.main-dashboard-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Left side is wider than right */
    gap: 20px;
    align-items: start;
    margin-top: 20px;
}

/* Responsive: Stack columns on small screens */
@media (max-width: 850px) {
    .main-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Styling for the new Right-Hand Panel */
.doc-generator-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    min-height: 400px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Ensure Work Area doesn't stretch weirdly */
.work-area {
    min-height: 70vh;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}
#paywall-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; /* Pure white background */
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* This creates the blue-bordered box you see in the image */
.paywall-container {
    background: #ffffff;
    border: 3px solid #00aeef; /* The blue line around the box */
    border-radius: 15px;      /* Rounded corners */
    padding: 40px;             /* Space inside the box */
    max-width: 800px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); /* Soft shadow */
}
.paywall-container h2 {
    color: #00aeef; /* The bright blue from your image */
    font-size: 2rem;
    margin-bottom: 20px;
}

.paywall-container p {
    color: #334155;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 10px auto;
}

.paywall-container .highlight {
    color: #00aeef;
    font-weight: bold;
    margin: 20px 0;
}

.paywall-btn {
    background: #00aeef;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.paywall-btn:hover {
    background: #0082b3;
}

.paywall-footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #64748b;
}

.paywall-footer a {
    color: #0000ff;
    text-decoration: underline;
}