body {
    font-family: sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 40px;
    text-align: center;
}

.login-container {
    width: 400px;
    margin: 0 auto;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 10px #ccc;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 1行を横並びにする */
.form-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-form label {
    font-weight: bold;
    width: 120px; /* ラベルの幅を固定すると綺麗に揃う */
    text-align: left;
}

.login-form input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex: 1; /* 入力欄を広げる */
}


.btn-submit {
    padding: 10px;
    background: #ffc107;
    color: black;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
}

.btn-submit:hover {
    background: #e0a800;
}

.actions {
    margin-top: 20px;
    text-align: center;
}

.btn-back {
    text-decoration: none;
    color: white;
    background: #007bff;
    padding: 8px 12px;
    border-radius: 4px;
}

.btn-back:hover {
    background: #0056b3;
}

.error-message,
.logout-message {
    color: red;
    margin-bottom: 10px;
    text-align: center;
}