body {
    font-family: sans-serif;
    /* 移除原來的背景顏色 */
    /* background-color: #f4f4f4; */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    /* 新增背景圖片 */
    background-image: url('../images/background.jpg'); /* 調整路徑到您的背景圖 */
    background-size: cover; /* 縮放背景圖片以覆蓋整個視窗 */
    background-repeat: no-repeat; /* 防止背景圖片重複 */
}

.login-form {
    background-color: rgba(255, 255, 255, 0.9); /* 保持白色背景，但增加一些透明度 */
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* 稍微調整陰影 */
    width: 300px;
    text-align: center;
}

.login-container h1 {
    color: #333;
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
}

.input-field {
    width: calc(100% - 12px);
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.captcha-group {
    display: flex;
    flex-direction: column;
}

.captcha-input {
    display: flex;
    align-items: center;
}

.captcha-text {
    flex-grow: 1;
    margin-right: 0.5rem;
}

.captcha-input img {
    height: 2.5rem;
    cursor: pointer;
    border: 1px solid #eee;
    border-radius: 4px;
}

.button-group {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.login-button, .reset-button {
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

.login-button {
    background-color: #007bff;
}

.reset-button {
    background-color: #6c757d;
}

.login-button:hover {
    background-color: #0056b3;
}

.reset-button:hover {
    background-color: #545b62;
}