﻿/* 卡片式容器設計 */
.checkout-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* 區塊標題設計 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 15px;
}
.section-header2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0px;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

    .section-title::before {
        content: "";
        display: inline-block;
        width: 4px;
        height: 20px;
        background-color: #3498db;
        margin-right: 12px;
        border-radius: 2px;
    }

/* 運費資訊列 */
.shipping-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.shipping-hint {
    color: #666;
    font-size: 15px;
}

.shipping-amount {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.sub-amount {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding:0px 12px;
}

/* 表單元素美化 */
.form-group-label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}

/* 修正按鈕不與 Input 同行的關鍵樣式 */
.flex-form {
    display: flex;
    align-items: center;
    gap: 10px; /* 按鈕與輸入框的間距 */
}

.flex-input-wrapper {
    flex: 1; /* 讓輸入框自動佔滿剩餘空間 */
}

.custom-input {
    height: 46px !important;
    border-radius: 6px !important;
    border: 1px solid #dcdfe6 !important;
    box-shadow: none !important;
    transition: border-color 0.2s;
    font-size: 15px;
}

    .custom-input:focus {
        border-color: #3498db !important;
    }

/* 按鈕設計 */
.btn-action {
    height: 46px;
    padding: 0 25px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-primary {
    background-color: #fff;
    color: #3498db;
    border: 1px solid #3498db;
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
}

    .btn-outline-primary:hover {
        background-color: #3498db;
        color: #fff;
    }

.btn-primary-solid {
    background-color: #3498db;
    color: #fff;
}

    .btn-primary-solid:hover {
        background-color: #2980b9;
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }

.btn-danger-solid {
    background-color: #e74c3c;
    color: #fff;
}

    .btn-danger-solid:hover {
        background-color: #c0392b;
        box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    }

/* 已套用折扣的樣式 - 專業綠色系 */
.applied-status {
    background-color: #f0f9eb; /* 淺綠色背景 */
    border: 1px dashed #c2e7b0; /* 綠色虛線邊框 */
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-text {
    color: #67c23a; /* 成功綠文字 */
    font-weight: 600;
    font-size: 16px;
}

.status-amount {
    font-size: 18px;
    font-weight: 700;
    color: #444;
}

/* 輔助文字 */
.helper-text {
    color: #909399;
    font-size: 13px;
    margin-top: 8px;
}

.expiry-alert {
    color: #f39c12;
    font-weight: 600;
}

.spacing-lg {
    margin-top: 40px;
}

/* 這是您提供的特殊樣式，建議加上特定名稱避免影響所有圖示 */
.fa-featured {
    font-size: 20px;
    text-align: center;
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #dc3545;
    background-color: #ffc107;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.aDis-hint {
    color: #666;
    font-size: 15px;
    padding-left: 10px;
}