body {
    font-family: sans-serif;
    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: 320px; /* 稍微寬一些，讓 3 個按鈕平鋪更為美觀 */
    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;
    box-sizing: border-box;
}

.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: space-between;
}

/* 調整按鈕容器：彈性平分空間並拉開間距 */
.button-group {
    margin-top: 1.5rem;
    display: flex;
    gap: 8px; /* 按鈕之間的間距 */
    justify-content: space-between;
    align-items: center;
}

/* 統一三個按鈕的基本尺寸、邊框與高度 */
.login-button, .reset-button, .incident-button {
    flex: 1; /* 讓 3 個按鈕平分寬度 */
    height: 38px; /* 固定統一高度 */
    border: none;
    border-radius: 4px;
    color: white !important;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

/* 按鈕各自的背景顏色 */
.login-button {
    background-color: #007bff;
}

.reset-button {
    background-color: #6c757d;
}

.incident-button {
    background-color: #e67e22; /* 醒目的橘黃色 */
}

/* Hover 懸停效果 */
.login-button:hover {
    background-color: #0056b3;
}

.reset-button:hover {
    background-color: #545b62;
}

.incident-button:hover {
    background-color: #d35400;
}