
/* Overlay 背景 */
.overlay {
    position: fixed;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    background: rgba(167, 167, 167, 0.4);
    z-index: 101;
    display: none; /* 預設隱藏 */
}

/* 中央的對話框容器 */
.modal {
    position: fixed;
    inset: 0;
    margin: auto;
    width: 660px;
    height: fit-content;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid #979797;
    z-index: 102;
}

/* 標題列 */
.modal-header {
    height: 45px;
    background-color: #000000;
}

.modal-title {
    line-height: 45px;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
}

/* 內容區塊 */
.modal-body {
    margin: 20px;
    font-size: 20px;
}

/* 首段提示文字 */
.notice-text {
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 30px;
}

/* 每一列（標籤 + 輸入 + 按鈕） */
.form-row {
    margin-top: 10px;
}

/* 第一列需要額外間距 */
.form-row:first-of-type {
    margin-top: 0;
}

/* 左邊標籤 */
.form-label {
    display: inline-block;
    width: 170px;
    font-weight: bold;
}

/* 輸入框 */
.form-input {
    display: inline-block;
    width: 280px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid #979797;
    box-shadow: inset 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    font-size: 20px;
    height: 40px;
}

#code {
    letter-spacing: 10px;
}

/* 按鈕 */
.btn {
    width: 150px;
    height: 40px;
    border-radius: 10px;
    font-size: 20px;
    margin-left: 5px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    border: 1px solid #ffffff;
    cursor: pointer;
}

.btn-primary {
    background-color: #008D42;
    color: #ffffff;
}

/* 驗證結果區塊 */
.result-view {
    margin-top: 15px;
}

.result-text {
    width: 100%;
    height: 40px;
    background-color: #29BC00;
    color: #ffffff;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
}

/* 倒數標籤（保持行內） */
.countdown-label {
    /*margin-left: 8px;*/
}