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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #010E30 0%, #00081E 100%);
            color: #010E30;
            padding: 20px;
            min-height: 100vh;
        }

        .header {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px 20px;
            background: rgba(190, 185, 152, 0.1);
            border-radius: 15px;
            border: 1px solid rgba(190, 185, 152, 0.3);
        }

        .header h1 {
            color: #BEB998;
            font-size: 2.5em;
            font-weight: 300;
            letter-spacing: 2px;
            margin-bottom: 10px;
        }

        .header p {
            color: #767B9A;
            font-size: 1.1em;
            margin-top: 10px;
        }

        .container {
            max-width: 1600px;
            margin: 0 auto;
        }

        .card {
            background: #FFFFFF;
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 40px;
            border: 3px solid #BEB998;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 3px solid #BEB998;
        }

        .card-title {
            font-size: 2.2em;
            color: #010E30;
            font-weight: 700;
            letter-spacing: 1px;
        }

        .card-total {
            font-size: 1.8em;
            color: #FFFFFF;
            background: linear-gradient(135deg, #010E30 0%, #767B9A 100%);
            padding: 12px 30px;
            border-radius: 12px;
            font-weight: 700;
        }

        .charts-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 30px;
        }

        .chart-wrapper {
            background: #F8F8F8;
            padding: 25px;
            border-radius: 15px;
            border: 2px solid #BEB998;
        }

        .chart-title {
            text-align: center;
            color: #010E30;
            font-size: 1.4em;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .asset-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 25px;
        }

        .asset-class {
            background: #FAFAFA;
            border-radius: 15px;
            padding: 25px;
            border-left: 5px solid;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        .asset-class:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .asset-class-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 12px;
            border-bottom: 2px solid rgba(1, 14, 48, 0.1);
        }

        .asset-class-name {
            font-size: 1.4em;
            font-weight: 700;
            color: #010E30;
        }

        .asset-class-percentage {
            font-size: 1.6em;
            font-weight: 800;
            padding: 8px 18px;
            border-radius: 10px;
            background: rgba(190, 185, 152, 0.15);
            color: #010E30;
        }

        .sub-asset {
            margin: 15px 0;
            padding: 15px;
            background: #FFFFFF;
            border-radius: 12px;
            border-left: 4px solid;
            transition: all 0.2s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .sub-asset:hover {
            background: #F8F8F8;
            transform: translateX(5px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .sub-asset-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .sub-asset-name {
            font-weight: 700;
            color: #010E30;
            font-size: 1.1em;
        }

        .sub-asset-percentage {
            font-weight: 800;
            font-size: 1.15em;
            color: #767B9A;
        }

        .sub-asset-ticker {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }

        .ticker {
            display: inline-block;
            padding: 5px 14px;
            background: #010E30;
            border-radius: 8px;
            font-size: 0.9em;
            color: #BEB998;
            font-weight: 600;
            border: 1px solid #BEB998;
        }

        .sub-asset-description {
            font-size: 0.95em;
            color: #555;
            margin-top: 10px;
            line-height: 1.6;
        }

        /* Cores específicas por classe - Carteira EUA */
        .renda-fixa {
            border-left-color: #BEB998;
        }

        .renda-variavel {
            border-left-color: #767B9A;
        }

        .commodities {
            border-left-color: #010E30;
        }

        .criptomoedas {
            border-left-color: #BEB998;
        }

        .real-estate {
            border-left-color: #767B9A;
        }

        /* Previdência - Classes */
        .prev-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            background: #FFFFFF;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        .prev-table thead {
            background: linear-gradient(135deg, #010E30 0%, #767B9A 100%);
            color: #FFFFFF;
        }

        .prev-table th {
            padding: 15px;
            text-align: left;
            font-weight: 600;
            font-size: 0.95em;
            border-bottom: 2px solid #BEB998;
        }

        .prev-table td {
            padding: 15px;
            border-bottom: 1px solid #E8E8E8;
            font-size: 0.9em;
            color: #333;
        }

        .prev-table tbody tr:hover {
            background: #F8F8F8;
        }

        .prev-category {
            background: #FAFAFA;
            padding: 25px;
            margin: 25px 0;
            border-radius: 15px;
            border-left: 5px solid #BEB998;
        }

        .prev-category-title {
            font-size: 1.6em;
            font-weight: 700;
            color: #010E30;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid rgba(190, 185, 152, 0.3);
        }

        .fund-badge {
            display: inline-block;
            padding: 4px 10px;
            background: #010E30;
            color: #BEB998;
            border-radius: 6px;
            font-size: 0.85em;
            font-weight: 600;
            margin-right: 5px;
        }

        .allocation-badge {
            display: inline-block;
            padding: 5px 12px;
            background: #BEB998;
            color: #FFFFFF;
            border-radius: 8px;
            font-size: 0.85em;
            font-weight: 700;
        }

        .legend-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
            padding: 20px;
            background: #F8F8F8;
            border-radius: 12px;
            border: 2px solid #BEB998;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .legend-color {
            width: 24px;
            height: 24px;
            border-radius: 6px;
            border: 2px solid #010E30;
        }

        .legend-text {
            color: #010E30;
            font-size: 1em;
            font-weight: 600;
        }

        .guidelines {
            background: #FFF9E6;
            border-left: 5px solid #BEB998;
            padding: 20px;
            margin-top: 25px;
            border-radius: 10px;
        }

        .guidelines h3 {
            color: #010E30;
            font-size: 1.3em;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .guidelines ul {
            list-style: none;
            padding: 0;
        }

        .guidelines li {
            padding: 8px 0;
            color: #333;
            font-size: 0.95em;
            line-height: 1.6;
        }

        .guidelines li:before {
            content: "✓ ";
            color: #BEB998;
            font-weight: bold;
            margin-right: 8px;
        }

        /* Sistema de Abas */
        .tabs-container {
            background: rgba(1, 14, 48, 0.95);
            border-radius: 15px;
            padding: 15px;
            margin-bottom: 30px;
            border: 2px solid #BEB998;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        }

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

        .tab {
            background: rgba(118, 123, 154, 0.3);
            color: #EDEDED;
            padding: 12px 25px;
            border-radius: 10px;
            border: 2px solid transparent;
            cursor: pointer;
            font-weight: 600;
            font-size: 1em;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .tab:hover {
            background: rgba(118, 123, 154, 0.5);
            transform: translateY(-2px);
        }

        .tab.active {
            background: #BEB998;
            color: #010E30;
            border-color: #BEB998;
            box-shadow: 0 5px 20px rgba(190, 185, 152, 0.4);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.4s ease-in;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 768px) {
            .tabs {
                flex-direction: column;
            }

            .tab {
                width: 100%;
                text-align: center;
            }
            .charts-container {
                grid-template-columns: 1fr;
            }
            
            .asset-grid {
                grid-template-columns: 1fr;
            }

            .header h1 {
                font-size: 1.8em;
            }

            .card-title {
                font-size: 1.6em;
            }

            .prev-table {
                font-size: 0.85em;
            }

            .prev-table th,
            .prev-table td {
                padding: 10px 8px;
            }
        }
