body {
    font-family: Arial, sans-serif;
    background-color: #e0ffe0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 350px;
}

h2 {
    color: #2c804f;
    margin-bottom: 20px;
}

.input-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.input-container input {
    width: 100%;
    padding: 12px;
    border: 1px solid #2c804f;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

.input-container input::placeholder {
    font-size: 14px;
    text-align: left;
    color: #666;
}

button {
    background-color: #2c804f;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

button:hover {
    background-color: #1e603a;
}

button.no-style {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 押したときに少し暗くする */
button.no-style:active {
    opacity: 0.6;
}

.error-message {
    color: red;
    margin-top: 10px;
}

/******************* notify.html start ******************/
/* Pushメッセージ一覧のコンテナ */
.push-message-container {
    width: 100%;
    max-width: 350px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* 見出し（常に表示） */
.push-message-container h2 {
    margin: 0 0 10px 0;
    font-size: 30px;
    color: #2c804f;
    text-align: center;
    background: #e0ffe0;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* メッセージリストをスクロール可能に */
#push-messages {
    flex-grow: 1;
    overflow-y: auto;
    max-height: calc(80vh - 70px);
    padding-right: 5px;
}

/* Pushメッセージカード */
.push-message-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    border-left: 5px solid #2c804f;
    transition: transform 0.2s ease-in-out;
}

/* ホバー時に少し浮く */
.push-message-card:hover {
    transform: translateY(-3px);
}

/* タイトル（1行、省略あり） */
.push-message-title {
    font-size: 14px;
    font-weight: bold;
    color: #2c804f;
    margin-bottom: 5px;
    white-space: normal;
}

/* 本文 */
.push-message-body {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/******************** notify.html end *******************/



/******************** 更新ボタン start ******************/
.refresh-icon {
    font-size: 28px;
}
/********************* 更新ボタン end *******************/
