﻿/* =========================
   Global
========================= */

body {
    font-family: "Segoe UI", "Microsoft JhengHei", sans-serif;
    background-color: #f5f6f8;
}

/* =========================
   Login
========================= */

.login-card {
    width: 100%;
    max-width: 420px;
}

/* =========================
   Apply Page
========================= */
.apply-container {
    max-width: 1200px;
}
.work-card {
    border-left: 5px solid #198754;
}

.required::after {
    content: " *";
    color: #dc3545;
}

.radio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

    .radio-list input[type="radio"] {
        margin-right: 6px;
        margin-bottom: 6px;
        transform: scale(1.05);
        cursor: pointer;
        vertical-align: middle;
        width: 22px;
        height: 22px;
        accent-color: #009844; /* 選取後的顏色 */
    }

    .radio-list label {
        margin-right: 20px;
        margin-bottom: 6px;
        cursor: pointer;
        font-size: 17px;
        vertical-align: middle;
    }

input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
    width: 22px;
    height: 22px;
    accent-color: #009844; /* 選取後的顏色 */
}

.preview-image {
    display: none;
    max-width: 240px;
    max-height: 240px;
    object-fit: contain;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 5px;
    margin-top: 12px;
    background-color: #fff;
}

.photo-file-info {
    display: none;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    background-color: #e9f7ef;
    color: #146c43;
}

.photo-rule {
    line-height: 1.8;
}

.session-name {
    font-size: 18px;
}

.status-card {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
}

.status-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 700;
}

.status-before .status-icon {
    color: #0d6efd;
    background-color: #e7f1ff;
}

.status-after .status-icon {
    color: #6c757d;
    background-color: #eef0f2;
}

.countdown-box {
    display: inline-block;
    min-width: 280px;
    padding: 12px 18px;
    border-radius: 10px;
    background-color: #f8f9fa;
    font-size: 18px;
    font-weight: 700;
}

.btn-green {
    color: #FFFFFF;
    width: auto;
    background-image: -webkit-linear-gradient(top, #24a600 1%, #24a600 22%, #24a600 30%, #009844 100%);
    margin: 10px 3px;
    padding: .375rem .75rem;
    cursor: pointer;
    border-radius: 2px;
    border-color: transparent;
}

    .btn-green:hover {
        color: #fff !important;
        background-image: none;
        background-color: #e60012;
    }

/* Modal背景 */
#photoModal .modal-content {
    background: #000;
}

/* Modal最大寬高 */
#photoModal .modal-dialog {
    max-width: 95vw;
}

/* Body不要產生捲軸 */
#photoModal .modal-body {
    height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

/* 圖片自動縮放 */
#modalImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
