/* ポップアップ全体の背景を半透明にする */
#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 背景を半透明に */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* ポップアップの中身 */
.popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px; /* 角丸にする */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* より強調された影 */
    text-align: center;
    font-family: 'Arial', sans-serif;
    max-width: 400px;
    width: 90%;
}

/* カウントダウン部分のテキスト */
#countdown {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

/* ボタンのデザイン */
#show-print,
#close-popup {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* 表示ボタン */
#show-print {
    background-color: #4CAF50; /* 緑 */
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* 表示ボタンのホバー時 */
#show-print:hover {
    background-color: #45a049;
}

/* 閉じるボタン */
#close-popup {
    background-color: #f44336; /* 赤 */
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* 閉じるボタンのホバー時 */
#close-popup:hover {
    background-color: #d32f2f;
}

/* 無効化された表示ボタン */
#show-print:disabled {
    background: #ddd;
    cursor: not-allowed;
    color: #888;
}
