/* ==========================================================================
   Plain Text Finance - Universal CSS Framework
   A terminal-inspired, developer-friendly CSS framework for financial clarity
   ========================================================================== */

/* ==========================================================================
   1. CSS Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Code Pro', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    background: #1e1e1e;
    color: #cccccc;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   2. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #00ff41;
}

h2 {
    font-size: 2rem;
    color: #61dafb;
}

h3 {
    font-size: 1.5rem;
    color: #ffd700;
}

h4 {
    font-size: 1.25rem;
    color: #ffffff;
}

h5 {
    font-size: 1.125rem;
    color: #cccccc;
}

h6 {
    font-size: 1rem;
    color: #999999;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #00ff41;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #61dafb;
    /* text-decoration: underline; */
}

strong {
    font-weight: 600;
    color: #ffffff;
}

em {
    font-style: italic;
    color: #ffd700;
}

code {
    background: #2d2d2d;
    color: #00ff41;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}

pre {
    background: #2d2d2d;
    color: #cccccc;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
    border: 1px solid #404040;
}

pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

/* ==========================================================================
   3. Layout & Containers
   ========================================================================== */
.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-lg {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section-sm {
    padding: 2rem 0;
}

.section-lg {
    padding: 6rem 0;
}

/* Flexbox utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1;
}

/* Grid utilities */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   4. Terminal Components
   ========================================================================== */
.terminal {
    background: #2d2d2d;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid #404040;
    margin-bottom: 2rem;
}

.terminal-header {
    background: #3c3c3c;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #404040;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.close { background: #ff5f57; }
.terminal-button.minimize { background: #ffbd2e; }
.terminal-button.maximize { background: #28ca42; }

.terminal-title {
    color: #cccccc;
    font-size: 0.85rem;
    margin-left: 1rem;
    font-weight: 500;
}

.terminal-body {
    padding: 2rem;
    background: #1e1e1e;
    min-height: 300px;
}

.prompt {
    color: #00ff41;
    margin-bottom: 1rem;
}

/* Terminal text colors */
.user { color: #61dafb; }
.host { color: #ff6b6b; }
.path { color: #ffd700; }
.command { color: #ffffff; margin-left: 1rem; }

.output {
    margin: 1.5rem 0;
    white-space: pre-line;
}

/* ==========================================================================
   5. UI Components
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.btn-primary {
    background: #00ff41;
    color: #1e1e1e;
}

.btn-primary:hover {
    background: #00cc34;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #61dafb;
    border: 1px solid #61dafb;
}

.btn-secondary:hover {
    background: #61dafb;
    color: #1e1e1e;
}

.btn-outline {
    background: transparent;
    color: #00ff41;
    border: 1px solid #00ff41;
}

.btn-outline:hover {
    background: #00ff41;
    color: #1e1e1e;
}

.btn-ghost {
    background: transparent;
    color: #cccccc;
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: #404040;
    color: #ffffff;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Form elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #cccccc;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 5px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #00ff41;
    box-shadow: 0 0 0 2px rgba(0, 255, 65, 0.2);
}

.form-input::placeholder {
    color: #666666;
}

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

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23cccccc' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Cards */
.card {
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #404040;
}

.card-title {
    color: #00ff41;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: #999999;
    font-size: 0.875rem;
}

.card-body {
    margin-bottom: 1.5rem;
}

.card-footer {
    padding-top: 1rem;
    border-top: 1px solid #404040;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: #2d2d2d;
    border-radius: 5px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #404040;
}

.table th {
    background: #3c3c3c;
    color: #00ff41;
    font-weight: 600;
}

.table tr:hover {
    background: #333333;
}

/* ASCII Art specific styles */
.ascii-art {
    font-family: 'Source Code Pro', monospace;
    white-space: pre;
    color: #61dafb;
    background: #1e1e1e;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.8rem;
    line-height: 1.2;
}

.ascii-chart {
    font-family: 'Source Code Pro', monospace;
    white-space: pre;
    color: #00ff41;
    background: #2d2d2d;
    padding: 1.5rem;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.75rem;
    line-height: 1.1;
    border: 1px solid #404040;
}

/* ==========================================================================
   6. Color Utilities
   ========================================================================== */
.text-primary { color: #00ff41; }
.text-secondary { color: #61dafb; }
.text-accent { color: #ffd700; }
.text-error { color: #ff6b6b; }
.text-warning { color: #ffbd2e; }
.text-success { color: #28ca42; }
.text-muted { color: #999999; }
.text-white { color: #ffffff; }

.bg-primary { background-color: #00ff41; }
.bg-secondary { background-color: #61dafb; }
.bg-accent { background-color: #ffd700; }
.bg-error { background-color: #ff6b6b; }
.bg-warning { background-color: #ffbd2e; }
.bg-success { background-color: #28ca42; }
.bg-dark { background-color: #2d2d2d; }
.bg-darker { background-color: #1e1e1e; }

/* ==========================================================================
   7. Spacing Utilities
   ========================================================================== */
.m-0 { margin: 0; }
.m-1 { margin: 0.5rem; }
.m-2 { margin: 1rem; }
.m-3 { margin: 1.5rem; }
.m-4 { margin: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

/* ==========================================================================
   8. Animations
   ========================================================================== */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateX(-20px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes typewriter {
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

.cursor {
    animation: blink 1s infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

/* ==========================================================================
   9. Navigation
   ========================================================================== */
.navbar {
    background: #2d2d2d;
    border-bottom: 1px solid #404040;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    color: #00ff41;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #00ff41;
}

/* ==========================================================================
   10. Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
    .container { max-width: 1000px; }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .container { max-width: 800px; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 768px) {
    .container, .container-sm, .container-lg {
        padding: 0 1rem;
    }
    
    .terminal-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .flex-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ascii-art, .ascii-chart {
        font-size: 0.6rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.125rem; }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container, .container-sm, .container-lg {
        padding: 0 0.5rem;
    }
    
    .terminal-body {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .ascii-art, .ascii-chart {
        font-size: 0.5rem;
    }
    
    .card {
        padding: 1rem;
    }
}

/* ==========================================================================
   11. Print Styles
   ========================================================================== */
@media print {
    * {
        background: white !important;
        color: black !important;
        text-shadow: none !important;
        box-shadow: none !important;
    }
    
    .terminal {
        border: 1px solid #000;
        box-shadow: none;
    }
    
    .terminal-header {
        border-bottom: 1px solid #000;
    }
    
    .ascii-art, .ascii-chart {
        background: white !important;
        color: black !important;
        border: 1px solid #000;
    }
}

/* ==========================================================================
   12. Landing Page Specific Styles
   ========================================================================== */
.landing-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.landing-terminal {
    max-width: 900px;
    width: 100%;
}

.landing-terminal .terminal-body {
    min-height: 500px;
}

.logo {
    color: #00ff41;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    text-align: center;
    animation: typewriter 2s steps(22) 1s forwards;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    margin-left: auto;
    margin-right: auto;
}

.landing-ascii-art {
    color: #61dafb;
    font-size: 0.7rem;
    margin: 1rem 0;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 3s forwards;
}

.landing-message {
    color: #cccccc;
    margin: 1.5rem 0;
    opacity: 0;
    animation: fadeIn 1s ease-out 4s forwards;
}

.highlight {
    color: #00ff41;
    font-weight: 600;
}

.secondary {
    color: #ffd700;
}

.email-section {
    margin: 2rem 0;
    opacity: 0;
    animation: fadeIn 1s ease-out 5s forwards;
}

.input-line {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.input-prompt {
    color: #00ff41;
    white-space: nowrap;
}

.email-input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    flex: 1;
    min-width: 200px;
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid #404040;
    transition: border-color 0.3s ease;
}

.email-input:focus {
    border-bottom-color: #00ff41;
}

.submit-btn {
    background: transparent;
    border: 1px solid #00ff41;
    color: #00ff41;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.submit-btn:hover {
    background: #00ff41;
    color: #1e1e1e;
}

.landing-footer {
    color: #666666;
    font-size: 0.85rem;
    margin-top: 2rem;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 6s forwards;
}

.status-line {
    color: #ffd700;
    margin: 0.5rem 0;
}

.progress-bar {
    color: #61dafb;
    margin: 1rem 0;
}

@keyframes typewriter {
    to {
        width: 22ch;
    }
}

/* Landing page responsive styles */
@media (max-width: 768px) {
    .landing-page {
        padding: 1rem;
    }

    .landing-terminal .terminal-body {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .landing-ascii-art {
        font-size: 0.6rem;
    }

    .input-line {
        flex-direction: column;
        align-items: flex-start;
    }

    .submit-btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* ==========================================================================
   13. Accessibility
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #00ff41;
    outline-offset: 2px;
}

button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #00ff41;
    outline-offset: 2px;
}

/* ==========================================================================
   14. AAPL Chart Page Specific Styles
   ========================================================================== */

/* macOS Menu Bar Header */
.aapl-chart-page .macos-menubar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: linear-gradient(to bottom, #3c3c3c, #2d2d2d);
    border-bottom: 1px solid #404040;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.aapl-chart-page .menubar-content {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    padding: 0 16px;
    max-width: 100%;
}

.aapl-chart-page .site-icon {
    font-size: 24px;
    color: #00ff41;
    line-height: 1;
    margin-right: 4px;
}

.aapl-chart-page .site-logo {
    padding: 4px 12px;
    font-size: 13px;
    color: #cccccc;
    border-radius: 4px;
    transition: background-color 0.15s ease;
    font-family: 'Source Code Pro', monospace;
    font-weight: bold;
}

.aapl-chart-page .site-logo:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #00ff41;

}

.aapl-chart-page .menubar-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.aapl-chart-page .menu-item {
    padding: 4px 12px;
    font-size: 13px;
    color: #cccccc;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.15s ease;
    font-family: 'Source Code Pro', monospace;
    font-weight: 400;
}

.aapl-chart-page .menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #00ff41;
}
.aapl-chart-page {
    margin: 0;
    padding: 48px 20px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: space-between;
}

.aapl-chart-page .terminal {
    width: 375px; /* iPhone screen width */
    background: #2d2d2d;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid #404040;
    margin-bottom: 0;
    flex-shrink: 0;
}

.aapl-chart-page .terminal-header {
    background: #3c3c3c;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #404040;
}

.aapl-chart-page .terminal-buttons {
    display: flex;
    gap: 6px;
}

.aapl-chart-page .terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.aapl-chart-page .terminal-button.close { background: #ff5f57; }
.aapl-chart-page .terminal-button.minimize { background: #ffbd2e; }
.aapl-chart-page .terminal-button.maximize { background: #28ca42; }

.aapl-chart-page .terminal-title {
    color: #cccccc;
    font-size: 13px;
    margin-left: 12px;
    font-weight: 500;
}

.aapl-chart-page .terminal-body {
    background: #1e1e1e;
    padding: 16px;
    font-size: 12px;
    line-height: 1.2;
    color: #cccccc;
}

.aapl-chart-page .prompt {
    color: #00ff41;
    margin-bottom: 12px;
}

.aapl-chart-page .user { color: #61dafb; }
.aapl-chart-page .host { color: #ff6b6b; }
.aapl-chart-page .path { color: #ffd700; }
.aapl-chart-page .command { color: #ffffff; margin-left: 8px; }

.aapl-chart-page .ascii-chart {
    color: #00ff41;
    white-space: pre;
    font-size: 10px;
    line-height: 1.1;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
    background: #1e1e1e;
    box-sizing: border-box;
    border: none;
    outline: none;
}

.aapl-chart-page .terminal-bottom {
    height: 8px;
    background: #1e1e1e;
}

.aapl-chart-page footer.footer {
    background: #2d2d2d;
    color: #666666;
    padding: 12px;
    text-align: center;
    font-size: 12px;
    width: 100vw;
    box-sizing: border-box;
    flex-shrink: 0;
    margin-top: auto;
}

/* Fallback for Safari and older browsers */
@supports not (margin-top: max(auto, 75px)) {
    .aapl-chart-page footer.footer {
        margin-top: 75px;
    }
}

/* Modern browsers that support max() function */
@supports (margin-top: max(auto, 75px)) {
    .aapl-chart-page footer.footer {
        margin-top: max(auto, 75px);
        min-height: auto;
        padding-top: 12px;
    }
}

/* ==========================================================================
   15. Home Page Search Styles
   ========================================================================== */
.search-container {
    padding: 2rem 1rem;
    text-align: center;
}

.search-header {
    margin-bottom: 2rem;
}

.search-header .text-primary {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.search-subtitle {
    color: #999999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.search-box-container {
    margin-bottom: 2rem;
}

.search-prompt {
    color: #00ff41;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.search-input-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.75rem;
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 5px;
    color: #ffffff;
    font-family: 'Source Code Pro', monospace;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: #00ff41;
    box-shadow: 0 0 0 2px rgba(0, 255, 65, 0.2);
}

.search-input::placeholder {
    color: #666666;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 0 0 5px 5px;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.suggestion-item {
    padding: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #404040;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #3c3c3c;
}

.suggestion-symbol {
    color: #00ff41;
    font-weight: 600;
    font-size: 0.9rem;
}

.suggestion-name {
    color: #cccccc;
    font-size: 0.8rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin-left: 1rem;
    flex: 1;
    text-align: right;
}

.suggestion-not-found {
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #2d2d2d;
    border-bottom: 1px solid #404040;
}

.not-found-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.not-found-content {
    flex: 1;
}

.not-found-title {
    color: #ff6b6b;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.not-found-subtitle {
    color: #999999;
    font-size: 0.75rem;
}

.quick-access {
    margin-bottom: 2rem;
    text-align: left;
}

.quick-access-title {
    color: #ffd700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.quick-access-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stock-link {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 3px;
    color: #61dafb;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.stock-link:hover {
    background: #3c3c3c;
    border-color: #00ff41;
    color: #00ff41;
}

.all-stocks-link {
    text-align: center;
    margin-top: 2rem;
}

.btn-link {
    color: #00ff41;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid #00ff41;
    border-radius: 3px;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-link:hover {
    background: #00ff41;
    color: #1e1e1e;
}
