/* Room-based Item Selection Styling */
.ywq-description {
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.room-items-container {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.room-item-section {
    background: #fff;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.room-item-section:hover {
    border-color: #ff8d00;
    box-shadow: 0 2px 8px rgba(255, 141, 0, 0.1);
}

.room-item-section.has-items {
    border-color: #ff8d00;
    background: #fff8f0;
}

.room-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.room-icon {
    font-size: 24px;
    width: 32px;
    text-align: center;
}

.room-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.item-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.counter-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #666;
}

.counter-btn:hover {
    border-color: #ff8d00;
    color: #ff8d00;
}

.counter-btn:active {
    transform: scale(0.95);
}

.counter-btn.minus:hover {
    background: #ffe6e6;
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.counter-btn.plus:hover {
    background: #e6f7ff;
    border-color: #1890ff;
    color: #1890ff;
}

.item-counter input[type="number"] {
    width: 60px;
    text-align: center;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    padding: 8px;
    font-size: 16px;
    font-weight: 600;
    background: #f8f9fa;
}

.item-cost {
    font-weight: 600;
    color: #ff8d00;
    font-size: 16px;
    min-width: 50px;
    text-align: right;
}

.room-examples {
    color: #888;
    font-size: 12px;
    line-height: 1.3;
}

.total-items-summary {
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-row.total {
    border-top: 2px solid #ddd;
    padding-top: 8px;
    font-weight: 600;
    font-size: 18px;
}

.summary-row.total span:last-child {
    color: #ff8d00;
    font-size: 20px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .room-items-container {
        grid-template-columns: 1fr;
    }
    
    .room-item-section {
        padding: 12px;
    }
    
    .room-icon {
        font-size: 20px;
        width: 28px;
    }
    
    .room-name {
        font-size: 14px;
    }
    
    .counter-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .item-counter input[type="number"] {
        width: 50px;
        font-size: 14px;
    }
}
