/* 全体レイアウト */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    font-family: sans-serif;
}

/* フォーム風のコンテナ */
.device-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ラベル */
label {
    font-weight: bold;
    color: #333;
}

/* プルダウン（横幅短め） */
select {
    width: 200px;       /* 横幅を短く */
    padding: 6px 10px;  /* 高さをコンパクトに */
    line-height: 1.2;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 16px;
    background-color: #fff;
    box-sizing: border-box;
}

/* デバイス管理ボタン（青） */
button {
    width: 250px;
    padding: 15px;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background 0.3s, transform 0.2s;
    background: #2196F3;
}

button:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* 戻るリンク */
a {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: #2196F3;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}
