body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 320px;
    text-align: center;
}

h1 {
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: bold;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

button {
    background-color: #ff8c42;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #e6732d;
}

.link {
    margin-top: 16px;
}

a {
    font-size: 13px;
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 全てのメッセージを画面上部中央に固定する設定 */
.flash-item {
    position: fixed;      /* 画面に対して固定 */
    top: 20px;            /* 上から20pxの位置 */
    left: 50%;            /* 横50%の位置へ */
    transform: translateX(-50%); /* 自身の幅の半分戻して完全中央へ */
    width: 300px;         /* 幅を指定 */
    z-index: 9999;        /* 一番手前に表示 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    pointer-events: none; 
}