/* reservation-system-admin.css */

#reservation-slot-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    z-index: 1000;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    max-height: 80vh;
    overflow-y: auto; 
}

#reservation-slot-modal h2 {
    margin-top: 0;
}

#reservation-slot-form label {
    display: block;
    margin-top: 10px;
}

/* #reservation-slot-form input[type="date"],
#reservation-slot-form input[type="time"],
#reservation-slot-form select,
#reservation-slot-form input[type="number"] {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
} */

#reservation-slots-table th,
#reservation-slots-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#reservation-slots-table th {
    background-color: #f4f4f4;
}

/* #reservation-slots-table input[type="date"],
#reservation-slots-table input[type="time"],
#reservation-slots-table input[type="color"],
#reservation-slots-table input[type="number"] {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
} */

/* 色選択のスタイル調整 */
#reservation-slots-table input[type="color"] {
    padding: 0;
    border: none;
    background: none;
    width: 40px;
    height: 40px;
}

/* スロットエントリーのレイアウト調整 */
.slot-entry {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}
.slot-entry div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.slot-entry label {
    margin-right: 5px;
    width: 120px;
}

/* .slot-entry input[type="date"],
.slot-entry input[type="time"],
.slot-entry select,
.slot-entry input[type="number"] {
    margin-right: 10px;
    flex: 1;
} */

.remove-slot-button {
    background-color: #e3342f;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
}

.remove-slot-button:hover {
    background-color: #cc1f1a;
}
