.rwf-menu-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
    padding-bottom: 5px;
    justify-content: space-between;
    align-items: center;
}
.rwf-menu-tab {
    font-weight: bold;
    color: #0073aa;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px 3px 0 0;
    background: #f1f1f1;
    cursor: pointer;
    transition: all 0.3s ease;
}
.rwf-menu-tab:hover {
    background: #e0e0e0;
}
.rwf-menu-tab.active {
    background: #fff;
    border-bottom: 2px solid #fff;
}
.rwf-menu-tabs-left {
    display: flex;
    gap: 20px;
}
.rwf-menu-tabs-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.rwf-datetime {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}
.rwf-settings-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: background-color 0.3s;
}
.rwf-settings-btn:hover {
    background: #005a87;
}
.rwf-settings-icon {
    width: 16px;
    height: 16px;
}
.rwf-content-area {
    min-height: 400px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.rwf-content-hidden {
    display: none;
}
.rwf-room-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2px;
    margin: 0 -8px;
}

.rwf-room-box {
    width: 150px;
    height: 150px;
    background: white;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    cursor: grab;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    margin: 8px;
    user-select: none;
}

.rwf-room-box:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #0073aa;
}

.rwf-room-box.selected {
    border-color: #0073aa;
    background-color: #f0f8ff;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2);
}

.rwf-room-box:active {
    cursor: grabbing;
}

.rwf-room-box.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
    z-index: 1000;
    position: relative;
}

.rwf-room-box.drag-over {
    border-color: #0073aa;
    background-color: #f0f8ff;
    transform: scale(1.05);
}

.rwf-room-number {
    font-size: 1.125rem;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 0.5rem;
}

.rwf-status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.25rem;
}

.rwf-status-indicator.occupied {
    background-color: #ef4444;
}

.rwf-status-indicator.reserved {
    background-color: #f59e0b;
}

.rwf-status-indicator.available {
    background-color: #10b981;
}

.rwf-room-info {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 640px) {
    .rwf-room-box {
        width: 45vw;
        min-width: 120px;
        max-width: 150px;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .rwf-room-grid {
        grid-template-columns: repeat(3, 150px);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .rwf-room-grid {
        grid-template-columns: repeat(4, 150px);
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .rwf-room-grid {
        grid-template-columns: repeat(6, 150px);
    }
}

@media (min-width: 1281px) {
    .rwf-room-grid {
        grid-template-columns: repeat(8, 150px);
    }
}

/* ドロップエリア */
.rwf-drop-zone {
    min-height: 200px;
    border: 3px dashed #d1d5db;
    border-radius: 0.5rem;
    background-color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
    transition: all 0.3s ease;
    position: relative;
}

.rwf-drop-zone.drag-over {
    border-color: #0073aa;
    background-color: #f0f8ff;
    transform: scale(1.02);
}

.rwf-drop-zone.drag-over::after {
    content: "ここにドロップしてください";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0073aa;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 10;
}

.rwf-drop-zone.empty {
    background-color: #f9fafb;
}

.rwf-drop-zone.empty::before {
    content: "ドロップエリア";
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 500;
}

/* ドラッグ中のプレビュー */
.rwf-drag-preview {
    position: fixed;
    top: -1000px;
    left: -1000px;
    width: 150px;
    height: 150px;
    background: white;
    border: 2px solid #0073aa;
    border-radius: 0.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.8;
}

/* ドラッグ操作のインジケーター */
.rwf-drag-indicator {
    position: fixed;
    width: 20px;
    height: 20px;
    background: #0073aa;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    display: none;
}

/* ドロップ成功時のアニメーション */
.rwf-drop-success {
    animation: dropSuccess 0.5s ease-in-out;
}

@keyframes dropSuccess {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        background-color: #10b981;
    }
    100% {
        transform: scale(1);
    }
}