/* 共通スタイル */
body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.container {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
    padding: 40px;
    max-width: 800px;
    position: relative;
}

/* メニュータイトル */
.menu-title {
    font-size: 50px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-top: 20px;
}

.menu-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
}

/* アイコンスタイル */
.search-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: #fff;
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 1.25rem
}

/* ボタンスタイル */
.top-buttons {
    position: absolute;
    top: 20px;
    left: 20px;
}

.btn-back,
.btn-edit,
.btn-status,
.btn-done,
.btn-add {
    background-color: #f8f9fa;
    color: #007bff;
    padding: 10px 15px;
    border-radius: 30px;
    transition: all .3s;
}

.btn-back:hover,
.btn-edit:hover,
.btn-status:hover,
.btn-done:hover,
.btn-add:hover {
    background-color: #007bff;
    color: #fff;
}

.search-button {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    border: none;
    color: #fff;
    transition: all .3s ease
}

.search-button:hover {
    background: linear-gradient(135deg, #0056b3, #00a0c0);
    color: #fff;
}

/* エラーメッセージスタイル */
.alert-danger {
  border-color: #f8d7da;
  padding: 0.75rem 1.25rem;
}

 .error-list {
  padding-left: 20px; /* リストマーカー用のスペース */
  margin-bottom: 0;
}

.error-text {
  color: red;
}

/* レスポンシブデザイン */
@media (max-width: 576px) {

    /* 共通スタイル */
    body {
        background-color: #fff;
    }

    .container {
        box-shadow: none;
        padding: 15px;
    }

    /* メニュータイトル */
    .menu-title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    /* テーブル */
    .table {
        font-size: 0.9rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .05)
    }

    /* ボタンスタイル */
    .top-buttons {
        position: static;
        padding: 10px 0;
    }

    .btn-back,
    .btn-edit,
    .btn-status,
    .btn-done,
    .btn-add {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

}