/* style.css - 駭客任務風格 UI */

body {
    display: flex;
    justify-content: center;
    align-items: flex-start;  /* 這裡調整為 flex-start 使內容從上方開始 */
    height: 100vh;
    font-family: 'Courier New', Courier, monospace;
    background-color: #101010; /* 黑色背景 */
    color: #00ff00; /* 綠色文字 */
    margin: 0;
    overflow: hidden;
    padding-top: 30px;  /* 加一點上方的間距 */
}

.container {
    text-align: center;
    padding: 40px;
    background-color: #1e1e1e; /* 深灰色背景 */
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 255, 0, 0.1); /* 綠色陰影 */
    width: 80%; /* 調整寬度以適應不同螢幕 */
    max-width: 900px; /* 最大寬度設置為 900px */
    max-height: 90vh; /* 最大高度為視窗的 90% */
    overflow-y: auto; /* 超出內容時顯示滾動條 */
    font-size: 1.1em;
    color: #00ff00;
}

h1 {
    color: #00ff00;
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.8); /* 綠色光暈 */
}

input[type="file"] {
    margin: 20px 0;
    padding: 10px;
    background-color: #333333;
    color: #00ff00;
    border: 2px solid #00ff00;
    border-radius: 8px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input[type="file"]:focus {
    border-color: #00b300; /* 輕微變亮的綠色 */
}

.button {
    padding: 14px 28px;
    background-color: #00b300; /* 更亮的綠色 */
    color: #101010;
    border: 2px solid #00b300;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    outline: none;
    text-transform: uppercase;
}

.button:hover {
    background-color: #00cc00;
    transform: scale(1.05); /* 按鈕 hover 動畫 */
}

.progress-container {
    display: none;
    margin: 20px 0;
    height: 25px;
    background-color: #333333;
    border-radius: 12px;
    overflow: hidden;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: #00ff00; /* 鮮明的綠色 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #101010;
    font-size: 1em;
    font-weight: bold;
    text-shadow: 0 0 4px rgba(0, 255, 0, 0.8); /* 綠色光暈效果 */
}

.message {
    margin-top: 30px;
    font-size: 1em;
    color: #00ff00;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 0 6px rgba(0, 255, 0, 0.6); /* 綠色光暈效果 */
}

.link {
    color: #00ff00;
    text-decoration: none;
    font-weight: 600;
    text-shadow: 0 0 4px rgba(0, 255, 0, 0.8); /* 綠色光暈 */
    transition: color 0.3s;
}

.link:hover {
    color: #00b300; /* 更深的綠色 */
    text-decoration: underline;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    color: #00ff00; /* 綠色文字 */
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.2); /* 表格外框的綠色光暈 */
}

th, td {
    padding: 12px;
    border: 1px solid #00ff00; /* 綠色邊框 */
    text-align: center;
}

th {
    background-color: #1a1a1a; /* 深灰色背景 */
    font-weight: bold;
    color: #00ff00; /* 綠色文字 */
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.7); /* 綠色光暈效果 */
}

tr:nth-child(even) {
    background-color: #111111; /* 偶數行深黑色背景 */
}

tr:nth-child(odd) {
    background-color: #1a1a1a; /* 奇數行深灰色背景 */
}

td a {
    color: #00ff00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.7); /* 綠色光暈效果 */
}

td a:hover {
    color: #00cc00; /* 更亮的綠色 */
    text-decoration: underline;
}

.button {
    background-color: #ff0000; /* 紅色按鈕 */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.7); /* 紅色光暈 */
}

.button:hover {
    background-color: #ff3333;
    transform: scale(1.05); /* 放大效果 */
}
