.roiSummary-container { .roiSummary-wrapper { background-color: #F2F2F7; .product-info { display: flex; } .playBack { display: flex; background-color: var(--background-color); border-radius: 12px; padding: 6px; .info { span { font-size: var(--font-size-xlarge); &:first-child { color: #31C756; } &:last-child { color: #2B3344; } } } } .roi-details { display: flex; .roi-progress { width: 60%; } .metrics { display: flex; flex-direction: column; gap: 6px; .metric-item { width: 100%; border-radius: 6px; border: 1px solid var(--axis-colors-green, #43C06D); background: var(--axis-colors-green-lite, #BEEECF); display: flex; flex-direction: column; padding: 4px 6px; &:last-child { align-items: center; } .metric-label { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .metric-value { text-align: center; line-height: 20px; } } .metric-wrapper { display: flex; gap: 6px; .metric-item { background-color: var(--background-color); border: 1px solid var(--Grays-Gray-6, #F2F2F7); } } } } .cost-breakdown { background-color: var(--background-color); border: 1px solid var(--text-disabled); border-radius: 8px; padding: 16px; .breakdown-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; .section-number { font-size: 20px; color: #00aaff; } .section-title { font-size: var(--font-size-regular); color: #333; } .expand-icon { font-size: 16px; color: #666; cursor: pointer; } } .breakdown-table { width: 100%; border-collapse: collapse; border-radius: 8px; th, td { padding: 8px; text-align: left; border-top: 1px solid var(--text-disabled); border-bottom: 1px solid var(--text-disabled); } /* Apply left border to first child */ th:first-child { border-left: 1px solid var(--text-disabled); } /* Apply right border to last child */ th:last-child { border-right: 1px solid var(--text-disabled); } td:first-child { border-left: 1px solid var(--text-disabled); } /* Apply right border to last child */ td:last-child { border-right: 1px solid var(--text-disabled); } th { background-color: var(--background-color); color: #333; } .total-row, .net-profit-row { font-weight: bold; color: #333; } } } .tips-section { background-color: var(--background-color); border-radius: 8px; display: flex; flex-direction: column; gap: 6px; padding: 12px; .tip-header { display: flex; align-items: center; .tip-title { color: var(--text-color); font-weight: 600; } } .tip-description { span { color: #34C759; /* Default color for the first span */ &:first-child { color: #34C759; /* Color for the first span */ } &:nth-child(2) { color: #488EF6; /* Color for the second span */ } } } } .get-tips-button { border: none; border-radius: 5px; cursor: pointer; font-size: 14px; margin-top: 8px; /* Make the button content-width dependent */ display: inline-block; display: flex; justify-content: flex-end; background: none; .btn { background-color: var(--accent-color); color: var(--background-color); padding: 4px 6px; /* Add padding to ensure it has space around the text */ border-radius: 5px; display: inline-block; /* Ensure button width adjusts to its content */ font-size: 14px; text-align: center; /* Ensure text is centered */ } } } } .semi-circle-wrapper { width: 250px; height: 125px; overflow: hidden; position: relative; } .semi-circle { width: 250px; height: 250px; border-radius: 50%; position: relative; transition: background 0.5s ease; transform: rotate(180deg); /* rotate so 0% is at left */ } .progress-cover { position: absolute; width: 75%; height: 75%; top: 12.5%; left: 12.5%; background-color: white; border-radius: 50%; } .label { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); font-weight: bold; font-size: 1.2rem; }