﻿/* 平滑滾動 */
html {
    scroll-behavior: smooth;
}

/* 認養流程頁面樣式 */
.step-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

    .step-link:hover {
        text-decoration: none;
        color: inherit;
    }

.step-card {
    padding: 20px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    cursor: pointer;
}

    .step-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 71, 103, 0.15);
    }

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #004767, #2c3e50);
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}

.step-title {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-description {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
}

.process-details {
    padding: 20px 0;
}

.process-item {
    border-left: 4px solid #004767;
    padding-left: 20px;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    padding: 20px;
    scroll-margin-top: 100px;
}

.process-title {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 15px;
}

.process-content ul li {
    padding: 5px 0;
    color: #495057;
}

.notice-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.notice-title {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 15px;
}

.notice-list {
    list-style: none;
    padding: 0;
}

    .notice-list li {
        padding: 8px 0;
        border-bottom: 1px solid #e9ecef;
        color: #495057;
        position: relative;
        padding-left: 25px;
    }

        .notice-list li:before {
            content: "•";
            color: #004767;
            font-weight: bold;
            position: absolute;
            left: 0;
        }

        .notice-list li:last-child {
            border-bottom: none;
        }

.alert {
    border-radius: 12px;
}

/* 費用資訊區塊樣式 */
.info-box {
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .info-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

/* 狗狗類型連結樣式 */
.dog-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

    .dog-link:hover {
        text-decoration: none;
        color: inherit;
    }

.size-box {
    padding: 10px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .size-box:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

/* 錨點區塊滾動偏移（避免被導航欄遮住） */
#small-dog-section,
#medium-dog-section,
#large-dog-section {
    scroll-margin-top: 100px;
}

/* 條列式費用項目樣式（不帶動畫） */
.expense-list-simple {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.expense-item-simple {
    padding: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    border-left: 4px solid rgba(0, 71, 103, 0.3);
}

.icon-box-simple {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 原有的費用列表樣式（帶動畫，給大型犬和中型犬使用） */
.expense-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.expense-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .expense-item:hover {
        background: rgba(255, 255, 255, 0.95);
        transform: translateX(5px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .step-card {
        margin-bottom: 20px;
    }

    .process-item {
        margin-bottom: 20px;
    }

    .info-box {
        padding: 20px;
        margin-bottom: 20px;
    }

    .size-box {
        padding: 15px 8px;
    }

    .expense-item {
        padding: 12px;
        font-size: 14px;
    }

    .expense-item-simple {
        padding: 12px;
        font-size: 14px;
    }

    .icon-box {
        width: 35px;
        height: 35px;
    }

    .icon-box-simple {
        width: 35px;
        height: 35px;
    }
}
