.kitchencar-owner-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.kitchencar-owner-dashboard h2 {
    margin-bottom: 30px;
    color: #1d2327;
    font-size: 24px;
}

/* Schedule Items */
.schedule-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.schedule-item:hover {
    border-color: #007cba;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.schedule-date {
    color: #1d2327;
}

.schedule-time {
    background: #f0f0f1;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.schedule-comment {
    color: #50575e;
    margin: 10px 0;
    white-space: pre-wrap;
}

.schedule-menus {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.menu-tag {
    background: #f0f6fc;
    border: 1px solid #c0d7ed;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 12px;
    color: #1e4b7b;
}

.no-details {
    color: #757575;
    font-style: italic;
    font-size: 13px;
}

/* Modal Styles */
#schedule-detail-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

#schedule-detail-modal .modal-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

#schedule-detail-modal h3 {
    margin-top: 0;
    color: #1d2327;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#schedule-detail-modal .form-group {
    margin-bottom: 20px;
}

#schedule-detail-modal label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #1d2327;
}

#schedule-detail-modal textarea {
    width: 100%;
    min-height: 100px;
    padding: 8px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
}

#schedule-detail-modal .menu-checkboxes {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

#schedule-detail-modal .form-check {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 4px;
    background: white;
    border: 1px solid #ddd;
}

#schedule-detail-modal .form-check:hover {
    background: #f5f5f5;
}

#schedule-detail-modal .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    #schedule-detail-modal .modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .schedule-header {
        flex-direction: column;
        gap: 5px;
    }
    
    .schedule-time {
        align-self: flex-start;
    }
}

/* 通知メッセージのスタイル */
.notice {
    padding: 12px;
    margin: 0 0 20px 0;
    border-left: 4px solid #fff;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.notice.notice-error {
    background-color: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.notice.notice-success {
    background-color: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.notice p {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* ローディングスピナーの調整 */
.spinner {
    float: none;
    margin-top: -4px;
    visibility: visible;
}

.kitchencar-owner-schedule-form {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.kitchencar-owner-schedule-form h3 {
    margin-bottom: 20px;
    color: #23282d;
    font-size: 18px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #23282d;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.kitchencar-owner-schedule-list {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kitchencar-owner-schedule-list h3 {
    margin-bottom: 20px;
    color: #23282d;
    font-size: 18px;
}

.schedule-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.schedule-item {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.schedule-date {
    font-size: 16px;
    font-weight: bold;
    color: #23282d;
    margin-bottom: 10px;
}

.schedule-status {
    color: #777;
    margin-bottom: 10px;
}

.schedule-description {
    color: #333;
    margin-bottom: 15px;
}

.schedule-actions {
    text-align: right;
}

.button {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}

.button-primary {
    background-color: #0073aa;
    color: #fff;
}

.button:hover {
    opacity: 0.9;
}
