/* 検索結果の表示スタイル */
#book-search-results {
    margin-top: 20px;
}

.library-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

.library-result div {
    flex: 1; /* 各要素が同じ幅を持つ */
    text-align: center;
}

#location-button {
    background-color: transparent;
    border: 2.5px solid #32CD32; /* 枠線を追加 */
    border-radius: 8px;        /* 角を少し丸くする */
    cursor: pointer;
    font-size: 24px;           /* アイコンサイズを大きく */
    color: #32CD32;            /* アイコンと枠の色 */
    width: 50px;               /* 正方形にするための幅 */
    height: 50px;              /* 正方形にするための高さ */
    display: flex;             /* アイコンを中央に配置 */
    align-items: center;       /* 垂直方向に中央揃え */
    justify-content: center;   /* 水平方向に中央揃え */
    transition: color 0.3s, border-color 0.3s; /* 色のスムーズな変化 */
}
#location-button:hover {
    color: #236e44;            /* ホバー時のアイコン色 */
    border-color: #236e44;     /* ホバー時の枠線色 */
}
  
.library-block {
    border: 1px solid #ccc; /* 枠線の色 */
    border-radius: 8px; /* 角を丸くする */
    padding: 16px; /* 内側の余白 */
    margin: 10px 0; /* 上下の外側の余白 */
    background-color: #f9f9f9; /* 背景色 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

.library-status {
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.library-status p {
    margin: 0;
}

.library-status.available {
    background-color: #e0f9e0; /* 緑色の背景 */
    color: green;
}

.library-status.unavailable {
    background-color: #fff5e1; /* 黄色の背景 */
    color: orange;
}

.library-status.none {
    background-color: #ffe5e5; /* 赤色の背景 */
    color: red;
}

/* .library-status a {
    color: blue;
    text-decoration: underline;
} */
