.icon-btn {
    border-radius: 12px;
    background: #FFF;
    padding: 12px;

    border: none;

    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    outline: none !important;
}

.icon-btn img {
    width: 18px;
    height: 18px;
}

.primary-btn {
    border: none;

    display: flex;
    
    justify-content: center;
    align-items: center;
    border-radius: 9999px !important;
    cursor: pointer;

    background: #0093C1; /* 底層純藍 */
    overflow: hidden;

    position: relative;
    outline: none !important;
}

/* 上層漸層，用透明度控制 */
.primary-btn::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(90deg, #0093C1 0%, #00A59B 100.27%);
    background-size: 100% 5%;
    background-position: left center;
    opacity: 0;  /* 初始透明 */
    transition: opacity 0.6s ease, background-position 0.8s cubic-bezier(0.4,0,0.2,1);
    z-index: 0;
}

/* 文字在最上層 */
.primary-btn span {
    position: relative;
    z-index: 1;
}


/* Hover：顯示漸層 + 做推進 */
.primary-btn:hover::after {
    opacity: 1;
    background-position: right center;
}

.primary-btn:hover {
    text-decoration: none;
}


/* 箭頭 */
.chevron {
    position: relative;
    z-index: 1;

    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-btn:hover .chevron {
    transform: translateX(10px);
}

.btn-lg {
    width: 172px;
    padding: 12px 16px !important;
    gap: 8px;

    @media (max-width: 768px) {
        min-width: 144px;
        padding:8px !important;
    }
}

.btn-md {
    width: 160px;
    padding: 8px 16px !important;
    gap: 4px;
}

.primary-btn .btn-text {
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    word-break: break-all;

    @media (max-width: 768px) {
        font-size: 16px;
        line-height: normal;      
    }
}

.tab-btn-lg {
    padding: 16px !important;

    @media (max-width: 768px) {
        padding: 8px !important;
    }
}

.tab-btn-md {
    padding: 12px 8px !important;
}

.tab-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px !important;
    background-color: #EEF0F0 !important;
    border: 1px solid #EEF0F0 !important;

    color: #0C0E1F !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    outline: none !important;
}

.tab-btn.active,
.tab-btn:hover , 
.tab-btn:focus, 
.tab-btn:active,
.tab-btn:focus-visible {
    color: #0C0E1F !important;
    border: 1px solid  #0093C1 !important;
    background-color: #F4FBFF !important;
    font-weight: 700;
    outline: none;
}


.modal-btn {
    padding: 12px 18px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px; /* 150% */
    border-radius:  12px;
    margin: 0 !important;
    outline: none !important;
}

.modal-solid-btn {
    background-color: #0093C1 ;
    color: #FFF;
    border: 1.5px solid #0093C1;
    outline: none !important;
}

.modal-solid-btn a,
.modal-solid-btn a:hover,
.modal-solid-btn a:focus,
.modal-solid-btn a:active,
.modal-solid-btn a:focus-visible,
.modal-solid-btn a:visited,
.modal-solid-btn a:focus-within {
    color: #FFF;
    outline: none !important;
}

.modal-outline-btn {
    background-color: #FFF;
    color: #0093C1;
    border: 1.5px solid #0093C1;
    outline: none !important;
}
