/* ---------------- RESET ---------------- */

h4 {
    font-weight: bold;
    margin-top: 1em;
    color: #038DB9;
}

h5{
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ---------------- LAYOUT ---------------- */
.tabSec {
    margin-top: 2rem;
}

/* ---------------- TAB COMPONENT ---------------- */
.tabstrip {
    width: 100%;
    border-bottom: 1px solid #A3DDF0;
}

.tabstrip .nav-tabs {
    display: flex;
    padding: 0;
    margin: 0;
}

.tabstrip .tab {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    background: #038DB9;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: bold;
    padding: 0.4rem 0.8rem;
    border-radius: 6px 6px 0 0;
    border-bottom: 2px solid #A3DDF0;
    border-right: 1px solid #FFFFFF;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.tabstrip .tab:last-child {
    border-right: none;
}

.tabstrip .tab:hover {
    background-color: #b7edfe;
    font-weight: normal;
    color: #002F5D;
    /* 若有深藍 hover 字色需求，可加上 */
}

.tabstrip .tab.active {
    background-color: #FFFFFF;
    color: #038DB9;
    border-top: 1px solid #A3DDF0;
    border-left: 1px solid #A3DDF0;
    border-right: 1px solid #A3DDF0;
    border-bottom: 0px;
}

/* ---------------- TAB CONTENT ---------------- */
.tab-panel {
    display: none;
    background-color: #F7FDFF;
    font-size: 0.85rem;
    line-height: 1.6;
    padding: 1rem 1.2rem 2rem;
    border: 2px solid #A3DDF0;
    border-top: none;
}

.tab-panel.active {
    display: block;
}

/* ---------------- TABLE STYLES ---------------- */
table {
    margin-top: 1.5rem;
}

/* .tab-panel td {
    border: #A3DDF0 1px solid;
} */

.tab-panel .col-10 {
    width: 10%;
    text-align: center;
    vertical-align: middle;
    background-color: #A3DDF0;
    border-bottom: #FFFFFF 1px solid;
}

.tab-panel .col-90 {
    width: 90%;
    padding: 0.5em 1em 1.5em;
}

.workflow td{
    text-align: center;
    display:inline-block;
    border: none;
}

/* ---------------- UTILITY ---------------- */
.shipTime {
    margin-top: 0.5em;
    color: #038DB9;
    font-size: small;
}

.corner-position {
    position: relative;
}

.upper-right-corner {
    position: absolute;
    top: 1rem;
    right: 2rem;
    z-index: 1;
}

.tabstrip .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox 隱藏滾動條 */
}

.tabstrip .nav-tabs::-webkit-scrollbar {
    display: none;
    /* Chrome / Safari 隱藏滾動條 */
}

/* ---------------- quote ---------------- */
.form-bk .row:first-child {
    border-top: 1px solid #000;
}

.box{
    padding-top: 1rem;
    margin-top: 1rem;
}
/* 讓第一組看起來更自然 */
.box:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}