/* TabContainer - Ionic-styled component */ .tab-container { display: flex; flex-direction: column; height: 100%; overflow: hidden; outline: none; background-color: var(--ion-background-color, #ffffff); } .tab-container:focus-visible { outline: 2px solid var(--ion-color-primary, #3880ff); outline-offset: -2px; } .tab-container-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; padding: 24px; color: var(--ion-color-medium, #92949c); } /* Tab Bar */ .tab-bar { display: flex; align-items: center; background-color: var(--ion-color-step-50, #f9f9f9); border-color: var(--ion-color-step-150, #d7d8da); } .tab-bar-top { border-bottom: 1px solid var(--ion-color-step-150, #d7d8da); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); } .tab-bar-bottom { border-top: 1px solid var(--ion-color-step-150, #d7d8da); box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.08); } .tab-bar-left { flex-direction: column; border-right: 1px solid var(--ion-color-step-150, #d7d8da); box-shadow: 1px 0 3px rgba(0, 0, 0, 0.08); } .tab-bar-right { flex-direction: column; border-left: 1px solid var(--ion-color-step-150, #d7d8da); box-shadow: -1px 0 3px rgba(0, 0, 0, 0.08); } /* Tab List */ .tab-list { display: flex; overflow-x: auto; overflow-y: hidden; flex: 1; min-height: 36px; } .tab-bar-left .tab-list, .tab-bar-right .tab-list { flex-direction: column; overflow-x: hidden; overflow-y: auto; } .tab-list::-webkit-scrollbar { height: 4px; width: 4px; } .tab-list::-webkit-scrollbar-thumb { background: var(--ion-color-step-300, #b3b3b3); border-radius: 4px; } .tab-list::-webkit-scrollbar-track { background: transparent; } /* Tab Item */ .tab-item { display: flex; align-items: center; justify-content: center; min-height: 36px; min-width: 80px; max-width: 200px; padding: 4px 8px; margin: 0 1px; cursor: pointer; user-select: none; position: relative; transition: all 0.2s ease-in-out; border: 1px solid transparent; border-radius: 4px; background-color: transparent; color: var(--ion-color-medium, #92949c); font-size: 12px; font-weight: 400; } .tab-item:hover:not(.tab-item-disabled) { background-color: var(--ion-color-step-100, #e6e6e6); color: var(--ion-color-step-850, #262626); } .tab-item-active { background-color: var(--ion-color-step-100, #e6e6e6); border-color: var(--ion-color-step-150, #d7d8da); color: var(--ion-color-primary, #3880ff); font-weight: 600; } .tab-item-active::before { content: ''; position: absolute; background: linear-gradient(90deg, var(--ion-color-primary, #3880ff), var(--ion-color-primary-tint, #4c8dff)); border-radius: 1px; } .tab-bar-top .tab-item-active::before { top: 0; left: 0; right: 0; height: 2px; } .tab-bar-bottom .tab-item-active::before { bottom: 0; left: 0; right: 0; height: 2px; } .tab-bar-left .tab-item-active::before { left: 0; top: 0; bottom: 0; width: 2px; } .tab-bar-right .tab-item-active::before { right: 0; top: 0; bottom: 0; width: 2px; } .tab-item-disabled { opacity: 0.4; cursor: not-allowed; } /* Tab Label */ .tab-label { display: flex; align-items: center; gap: 4px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 1.1; } /* Tab Icon */ .tab-icon { width: 14px; height: 14px; object-fit: contain; flex-shrink: 0; } .tab-icon-container { display: flex; align-items: center; flex-shrink: 0; } /* Tab Title */ .tab-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; } /* Tab Content */ .tab-content { flex: 1; overflow: auto; } /* Tab Status Bar */ .tab-status-bar { padding: 8px; border-top: 1px solid var(--ion-color-step-150, #d7d8da); flex-shrink: 0; text-align: center; font-size: 13px; color: var(--ion-color-medium, #92949c); background-color: var(--ion-color-step-50, #f9f9f9); }