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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: #ffffff;
            min-height: 100vh;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            text-align: center;
            margin-bottom: 30px;
            padding: 20px 0;
            border-bottom: 2px solid #2d4a7a;
        }

        .header h1 {
            font-size: 2.5rem;
            background: linear-gradient(45deg, #64b5f6, #42a5f5);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 10px;
        }

        .header p {
            color: #b0bec5;
            font-size: 1.1rem;
        }

        .controls {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 30px;
            justify-content: center;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            padding: 20px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }

        .input-group {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .input-group label {
            font-weight: 600;
            color: #e3f2fd;
        }

        .ticker-input {
            padding: 12px 16px;
            border: 2px solid #2d4a7a;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 16px;
            text-transform: uppercase;
            min-width: 120px;
        }

        .ticker-input:focus {
            outline: none;
            border-color: #42a5f5;
            box-shadow: 0 0 10px rgba(66, 165, 245, 0.3);
        }

        .btn {
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            font-size: 14px;
        }

        .btn-primary {
            background: linear-gradient(45deg, #42a5f5, #1976d2);
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(66, 165, 245, 0.4);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: 1px solid #2d4a7a;
        }

        .btn-secondary.active {
            background: linear-gradient(45deg, #66bb6a, #4caf50);
            color: white;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .chart-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            justify-content: center;
        }

        .chart-container {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .chart-title {
            text-align: center;
            margin-bottom: 20px;
            font-size: 1.5rem;
            color: #e3f2fd;
        }

        .chart-wrapper {
            position: relative;
            height: 500px;
            background: #0d1421;
            border-radius: 10px;
            overflow: hidden;
        }

        .loading {
            display: none;
            text-align: center;
            padding: 40px;
            font-size: 1.2rem;
            color: #64b5f6;
        }

        .loading.show {
            display: block;
        }

        .error {
            display: none;
            background: rgba(244, 67, 54, 0.1);
            border: 1px solid #f44336;
            color: #ff8a80;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .error.show {
            display: block;
        }

        .indicators {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
            justify-content: center;
        }

        .indicator-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.1);
            padding: 8px 16px;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .indicator-toggle:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .indicator-toggle.active {
            background: linear-gradient(45deg, #ff7043, #f4511e);
        }

        .toggle-switch {
            width: 40px;
            height: 20px;
            background: #2d4a7a;
            border-radius: 10px;
            position: relative;
            cursor: pointer;
        }

        .toggle-switch.active {
            background: #4caf50;
        }

        .toggle-switch::after {
            content: '';
            position: absolute;
            width: 16px;
            height: 16px;
            background: white;
            border-radius: 50%;
            top: 2px;
            left: 2px;
            transition: transform 0.3s ease;
        }

        .toggle-switch.active::after {
            transform: translateX(20px);
        }

        .info-panel {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }

        .info-card {
            background: rgba(255, 255, 255, 0.05);
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .info-card h4 {
            color: #64b5f6;
            margin-bottom: 8px;
            font-size: 0.9rem;
        }

        .info-card .value {
            font-size: 1.2rem;
            font-weight: 600;
        }

        .positive { color: #4caf50; }
        .negative { color: #f44336; }

        @media (max-width: 768px) {
            .controls {
                flex-direction: column;
                align-items: stretch;
            }

            .input-group {
                justify-content: center;
            }

            .chart-tabs {
                flex-direction: column;
            }

            .chart-wrapper {
                height: 400px;
            }

            .header h1 {
                font-size: 2rem;
            }

            .indicators {
                justify-content: stretch;
            }

            .indicator-toggle {
                flex: 1;
                justify-content: center;
            }
        }