﻿/* ========================================= */
/* === 1. 覆蓋公版底色 (確保全螢幕橘色不走光) === */
/* ========================================= */
body, .page-wrapper {
    background-color: #ffcc80 !important;
}

/* ========================================= */
/* === 2. 全螢幕背景與排版 === */
/* ========================================= */
.applicant-body {
    background-color: #ffcc80;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 讓內容垂直置中 */
    align-items: center; /* 讓內容水平置中 */
    position: relative;
    overflow: hidden; /* 防止右下角浮水印撐破畫面 */
    width: 100%;
}

/* 讓中間內容垂直置中 (若 HTML 已拔除此層可忽略) */
.applicant-main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 2; /* 確保內容在浮水印上方 */
    width: 100%;
}

/* 中央的白色大卡片 */
.applicant-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

/* ========================================= */
/* === 3. 卡片內部元件 (Logo, 按鈕, 說明) === */
/* ========================================= */

/* 頂部 Logo 區塊 */
.card-header-logo {
    text-align: center;
    margin-bottom: 30px;
}

    .card-header-logo img {
        max-height: 70px;
        margin-bottom: 15px;
    }

    .card-header-logo h2 {
        font-size: 1.2rem;
        font-weight: bold;
        color: #333;
        margin: 0;
    }

/* 兩個大按鈕的 Grid 容器 */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* 大按鈕樣式 */
.app-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background-color: #fbfbfb;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

    .app-btn:hover {
        border-color: #ff9800;
        background-color: #fff8ee;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(255, 152, 0, 0.1);
    }

    .app-btn h3 {
        font-size: 1.2rem;
        margin: 0 0 10px 0;
    }

    .app-btn .icon {
        font-size: 2.5rem;
        color: #ff9800;
    }

    /* 控制註冊與登入按鈕內的圖片 */
    .app-btn .gov-logo {
        width: 80px;
        height: 80px;
        object-fit: contain;
        margin-top: 10px;
        transition: transform 0.2s ease;
    }

    .app-btn:hover .gov-logo {
        transform: scale(1.1);
    }

/* 下方說明文字清單 */
.instructions {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

    .instructions ol {
        padding-left: 20px;
        margin: 0;
    }

.highlight-text {
    color: #ff5722;
}

/* ========================================= */
/* === 4. 裝飾與 Footer === */
/* ========================================= */

/* 右下角圖片浮水印 */
.watermark {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 600px;
    height: auto;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

/* 專屬極簡 Footer */
.applicant-footer {
    background-color: #444;
    color: #ccc;
    text-align: center;
    padding: 12px 0;
    font-size: 0.85rem;
    z-index: 2;
}

/* ========================================= */
/* === 5. 手機版響應式微調 (RWD) === */
/* ========================================= */
@media (max-width: 600px) {
    .action-buttons {
        grid-template-columns: 1fr; /* 手機版變成上下疊排 */
    }

    .watermark {
        width: 180px;
        bottom: 20px;
    }
}
